FirebaseServiceInterface class abstract

Implementers

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

batchUpdate(List<FirebaseServiceModel> models) Future<void>
create({required DocumentReference<Object?> ref, required Map<String, dynamic> data}) Future<void>
fetchModel<T>({required DocumentReference<Object?> ref, required T fromMap(Map<String, dynamic>)}) Future<T?>
fetchModels<T>({required Query<Object?> query, required T fromMap(Map<String, dynamic>), required String collectionName, int? limit, DocumentSnapshot<Object?>? lastDocumentSnapshot}) Future<PaginatedResult<T>>
getDoc(String collection, String? id) → DocumentReference<Object?>
listenModel<T>({required DocumentReference<Object?> ref, required T fromMap(Map<String, dynamic>)}) Stream<T?>
listenModels<T>({required Query<Object?> query, required T fromMap(Map<String, dynamic>), required String collectionName, int? limit}) Stream<PaginatedResult<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update({required DocumentReference<Object?> ref, required Map<String, dynamic> data}) Future<void>

Operators

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