PageFirestore class

Implemented types

Constructors

PageFirestore(GetCollection getCollection, String appId)

Properties

appId String
final
getCollection → GetCollection
final
hashCode int
The hash code for this object.
no setterinherited
pageCollection → CollectionReference<Object?>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(PageModel value) Future<PageModel>
override
addEntity(String documentID, PageEntity value) Future<PageEntity>
override
changeValue(String documentId, String fieldName, num changeByThisValue) Future<PageModel?>
override
delete(PageModel value) Future<void>
override
deleteAll() Future<void>
override
flush() → void
override
fromMap(Object? o, {Map<String, String>? newDocumentIds}) PageEntity?
override
get(String? id, {dynamic onError(Exception)?}) Future<PageModel?>
override
getEntity(String? id, {dynamic onError(Exception)?}) Future<PageEntity?>
override
getSubCollection(String documentId, String name) → dynamic
override
listen(PageModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<PageModel?>>
override
listenTo(String documentId, PageChanged changed, {PageErrorHandler? errorHandler}) StreamSubscription<PageModel?>
override
listenWithDetails(PageModelTrigger trigger, {String? orderBy, bool? descending, Object? startAfter, int? limit, int? privilegeLevel, EliudQuery? eliudQuery}) StreamSubscription<List<PageModel?>>
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(PageModel value) Future<PageModel>
override
updateEntity(String documentID, PageEntity value) Future<PageEntity>
override
values({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<PageModel?>>
override
valuesList({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Future<List<PageModel?>>
override
valuesListWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Future<List<PageModel?>>
override
valuesWithDetails({String? orderBy, bool? descending, Object? startAfter, int? limit, SetLastDoc? setLastDoc, int? privilegeLevel, EliudQuery? eliudQuery}) Stream<List<PageModel?>>
override

Operators

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