LocationRepository class
Constructors
- LocationRepository(ILocationService _locationService)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addConsumerLocation(
String id, Map< String, dynamic> body) → Future<EntityLocation?> -
addRetailerLocation(
String id, Map< String, dynamic> body) → Future<EntityLocation?> -
getConsumerLocation(
String id) → Future< EntityLocation?> -
getNearByRetailerLocations(
String latitude, String longitude) → Future< List< EntityLocation> ?> -
getRetailerLocation(
String id) → Future< EntityLocation?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateRealTimeLocationOfConsumer(
Map< String, dynamic> body) → Future<RealTimeLocation?> -
updateRealTimeLocationOfShopper(
Map< String, dynamic> body) → Future<RealTimeLocation?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getInstance(
) → LocationRepository? -
initialize(
ILocationService _service) → void