IRegistrationService class

Implementers

Constructors

IRegistrationService()

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>?
getConsumerById(String id) Future<SpinachUser>?
getConsumerByQuery(Map<String, dynamic> queries) Future<SpinachUser>?
getRetailerById(String id) Future<SpinachUser>?
getRetailerByQuery(Map<String, dynamic> queries) Future<SpinachUser>?
getRetailerDetails(String retailerId) Future<BusinessDetails>?
getShopperById(String id) Future<SpinachUser>?
getShopperByQuery(Map<String, dynamic> queries) Future<SpinachUser>?
getShopperDetails(String shopperId) Future<ShopperDetails>?
getUserByQuery(Map<String, dynamic> queries) 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

Operators

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