CustomerFirebaseRepository class

Inheritance

Constructors

CustomerFirebaseRepository(IDHelper idHelper, UserRepository userRepository)

Properties

customerCollection CollectionReference
read-only
customers String
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
idHelper IDHelper
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userRepository UserRepository
final

Methods

create(Customer customer) Future<AppResponse<String>>
override
delete(String id) Future<AppResponse<bool>>
override
getByUser(String userId) Future<AppResponse<Customer>>
override
getList({int page = 1, int count = 10}) Future<AppResponse<List<Customer>>>
override
getPage(Customer object, int count) Future<AppResponse<List<Customer>>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
read(String id) Future<AppResponse<Customer>>
override
toString() String
A string representation of this object. [...]
inherited
update(Customer object) Future<AppResponse<bool>>
override

Operators

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