PostCache class
Methods
-
add(PostModel value)
→ Future<PostModel>
-
Add a PostModel to the repository, cached
override
-
addEntity(String documentID, PostEntity value)
→ Future<PostEntity>
-
Add a PostEntity to the repository, cached
override
-
changeValue(String documentId, String fieldName, num changeByThisValue)
→ Future<PostModel>
-
override
-
delete(PostModel value)
→ Future<void>
-
Delete a PostModel from the repository, cached
override
-
deleteAll()
→ Future<void>
-
override
-
flush()
→ void
-
override
-
fromMap(Object? o, {Map<String, String>? newDocumentIds})
→ PostEntity?
-
override
-
get(String? id, {dynamic onError(Exception)?})
→ Future<PostModel?>
-
Retrieve a PostModel with it's id, cached
override
-
getEntity(String? id, {dynamic onError(Exception p1)?})
→ Future<PostEntity?>
-
override
-
getSubCollection(String documentId, String name)
→ dynamic
-
override
-
listen(PostModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery})
→ StreamSubscription<List<PostModel?>>
-
override
-
listenTo(String documentId, PostChanged changed, {PostErrorHandler? errorHandler})
→ StreamSubscription<PostModel?>
-
override
-
listenWithDetails(PostModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery})
→ StreamSubscription<List<PostModel?>>
-
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(PostModel value)
→ Future<PostModel>
-
Update a PostModel
override
-
updateEntity(String documentID, PostEntity value)
→ Future<PostEntity>
-
Update a PostEntity in the repository, cached
override
-
values({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery})
→ Stream<List<PostModel?>>
-
Retrieve list of List<PostModel?>
override
-
valuesList({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery})
→ Future<List<PostModel?>>
-
override
-
valuesListWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery})
→ Future<List<PostModel?>>
-
override
-
valuesWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery})
→ Stream<List<PostModel?>>
-
override