ChatFirestore class

Implemented types

Constructors

ChatFirestore(GetCollection getCollection, String appId)

Properties

appId String
final
chatCollection → CollectionReference<Object?>
final
getCollection → GetCollection
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(ChatModel value) Future<ChatModel>
override
addEntity(String documentID, ChatEntity value) Future<ChatEntity>
override
changeValue(String documentId, String fieldName, num changeByThisValue) Future<ChatModel?>
override
delete(ChatModel value) Future<void>
override
deleteAll() Future<void>
override
flush() → void
override
fromMap(Object? o, {Map<String, String>? newDocumentIds}) ChatEntity?
override
get(String? id, {dynamic onError(Exception)?}) Future<ChatModel?>
override
getEntity(String? id, {dynamic onError(Exception)?}) Future<ChatEntity?>
override
getSubCollection(String documentId, String name) → dynamic
override
listen(ChatModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<ChatModel?>>
override
listenTo(String documentId, ChatChanged changed, {ChatErrorHandler? errorHandler}) StreamSubscription<ChatModel?>
override
listenWithDetails(ChatModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<ChatModel?>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
timeStampToString(dynamic timeStamp) String?
override
toString() String
A string representation of this object.
inherited
update(ChatModel value) Future<ChatModel>
override
updateEntity(String documentID, ChatEntity value) Future<ChatEntity>
override
values({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<ChatModel?>>
override
valuesList({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Future<List<ChatModel?>>
override
valuesListWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Future<List<ChatModel?>>
override
valuesWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<ChatModel?>>
override

Operators

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