FollowingCache class

Implemented types

Constructors

FollowingCache(FollowingRepository reference)

Properties

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

Methods

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

Operators

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