PostLikeCache class

Implemented types

Constructors

PostLikeCache(PostLikeRepository reference)

Properties

fullCache Map<String?, PostLikeModel?>
final
hashCode int
The hash code for this object.
no setterinherited
reference PostLikeRepository
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

refreshRelations(PostLikeModel model) Future<PostLikeModel>