RegistrationRepository 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?>
-
-
addDeviceDetails(Map<String, dynamic> body, String id)
→ Future<SpinachUser?>
-
-
addRetailer(Map<String, dynamic> body)
→ Future<SpinachUser?>
-
-
addRetailerDetails(Map<String, dynamic> body, String id)
→ Future<BusinessDetails?>
-
-
addShopper(Map<String, dynamic> body)
→ Future<SpinachUser?>
-
-
addShopperDetails(Map<String, dynamic> body, String id)
→ Future<ShopperDetails?>
-
-
getConsumerByEmail(String email)
→ Future<SpinachUser?>
-
-
getConsumerById(String id)
→ Future<SpinachUser?>
-
-
getConsumerByPhoneNumber(String phoneNumber)
→ Future<SpinachUser?>
-
-
getConsumerByPhoneNumberAndEmail(String phoneNumber, String email)
→ Future<SpinachUser?>
-
-
getRetailerByEmail(String email)
→ Future<SpinachUser?>
-
-
getRetailerById(String id)
→ Future<SpinachUser?>
-
-
getRetailerByPhoneNumber(String phoneNumber)
→ Future<SpinachUser?>
-
-
getRetailerDetails(String retailerId)
→ Future<BusinessDetails?>
-
-
getShopperById(String id)
→ Future<SpinachUser?>
-
-
getShopperByPhoneNumber(String phoneNumber)
→ Future<SpinachUser?>
-
-
getShopperDetails(String shopperId)
→ Future<ShopperDetails?>
-
-
getUserByPhoneNumber(String phoneNumber)
→ Future<SpinachUser?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited