PostRepository class abstract

Inheritance
Implementers

Constructors

PostRepository()

Properties

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(PostModel value) Future<PostModel>
override
addEntity(String documentID, PostEntity value) Future<PostEntity>
override
changeValue(String documentId, String fieldName, num changeByThisValue) Future<PostModel?>
override
delete(PostModel value) Future<void>
override
deleteAll() Future<void>
override
flush() → void
override
fromMap(Object? o, {Map<String, String>? newDocumentIds}) PostEntity?
inherited
get(String? id, {dynamic onError(Exception)?}) Future<PostModel?>
override
getEntity(String? id, {dynamic onError(Exception)?}) Future<PostEntity?>
inherited
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>
override
updateEntity(String documentID, PostEntity value) Future<PostEntity>
override
values({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<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

Operators

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