PostCommentCache class

Implemented types

Constructors

PostCommentCache(PostCommentRepository reference)

Properties

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

Methods

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

Operators

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