RegistrationService class
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
-
addConsumer(Map<String, dynamic> body)
→ Future<SpinachUser>
-
override
-
addDeviceDetails(Map<String, dynamic>? body, String? id)
→ Future<SpinachUser>
-
override
-
addRetailer(Map<String, dynamic> body)
→ Future<SpinachUser>
-
override
-
addRetailerDetails(Map<String, dynamic> body, String id)
→ Future<BusinessDetails>
-
override
-
addShopper(Map<String, dynamic> body)
→ Future<SpinachUser>
-
override
-
addShopperDetails(Map<String, dynamic> body, String id)
→ Future<ShopperDetails>
-
override
-
getConsumerById(String id)
→ Future<SpinachUser>
-
override
-
getConsumerByQuery(Map<String, dynamic> queries)
→ Future<SpinachUser>
-
override
-
getRetailerById(String id)
→ Future<SpinachUser>
-
override
-
getRetailerByQuery(Map<String, dynamic> queries)
→ Future<SpinachUser>
-
override
-
getRetailerDetails(String retailerId)
→ Future<BusinessDetails>
-
override
-
getShopperById(String id)
→ Future<SpinachUser>
-
override
-
getShopperByQuery(Map<String, dynamic> queries)
→ Future<SpinachUser>
-
override
-
getShopperDetails(String shopperId)
→ Future<ShopperDetails>
-
override
-
getUserByQuery(Map<String, dynamic> queries)
→ Future<SpinachUser>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited