DocumentMapper class

Constructors

DocumentMapper({required ValueMapper valueUtils})

Properties

hashCode int
The hash code for this object.
no setterinherited
metaCollections String
no setter
metaCreateTime String
no setter
metaDocuments String
no setter
metaName String
no setter
metaUpdateTime String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueUtils ValueMapper
final

Methods

collectionToJson({required String path, List<Document> documents = const []}) JsonObject
documentToJson(Document document) JsonObject
init({String? metaPrefix}) → void
jsonToCollection({required String path, required JsonObject json, required OnParsedCallback onParsed, String? changeRootName}) Future<void>
jsonToDocument({required String path, required JsonObject json, required OnParsedCallback onParsed, String? changeRootName}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

kDefaultMetaPrefix → const String