ViewModel class

Constructors

ViewModel({required Map<int, PositionModel>? positions, required Map<int, Device>? devices, required PositionModel? position, dynamic geoFences, required List<Event>? events, dynamic updatePositions, dynamic updateDevices, dynamic updatePosition, dynamic updateGeoFences, dynamic addEvents})
ViewModel.create(Store<AppState> store)
factory

Properties

addEvents ↔ (dynamic Function(List<Event>)?)
getter/setter pair
devices Map<int, Device>?
getter/setter pair
events List<Event>?
getter/setter pair
geoFences Map<int, GeofenceModel>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
position PositionModel?
getter/setter pair
positions Map<int, PositionModel>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateDevices ↔ (dynamic Function(List<Device>)?)
getter/setter pair
updateGeoFences ↔ (dynamic Function(List<GeofenceModel>)?)
getter/setter pair
updatePosition ↔ (dynamic Function(PositionModel)?)
getter/setter pair
updatePositions ↔ (dynamic Function(List<PositionModel>)?)
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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