MapBloc class

Constructors

MapBloc({@required ShuttleRepository shuttleRepo, @required BusRepository busRepo, @required PrefsBloc prefsBloc})
MapBloc named constructor

Properties

busRepo BusRepository
final
busRoutes Map<String, BusRoute>
read / write
busShapes Map<String, BusShape>
read / write
busStopIcon ↔ dynamic
read / write
busStops List<BusStop>
read / write
busUpdates List<BusVehicleUpdate>
read / write
fluster ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isLoading bool
read / write
prefsBloc PrefsBloc
final
prefsStream StreamSubscription
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shuttleRepo ShuttleRepository
final
shuttleRoutes Map<String, ShuttleRoute>
read / write
shuttleStopIcon ↔ dynamic
read / write
shuttleStops List<ShuttleStop>
read / write
shuttleUpdateIcons Map<int, dynamic>
read / write
shuttleUpdates List<ShuttleUpdate>
read / write

Methods

close() Future<void>
mapEventToState(MapEvent event) Stream<MapState>
bloc functions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
scrollToCurrentLocation() → void
non-state related functions
scrollToLocation(dynamic loc) → void
toString() String
Returns a string representation of this object.
inherited
updateController(dynamic context, dynamic controller) → dynamic

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited