addDocument method
FutureOr<void>
addDocument({
- required String collectionPath,
- required JsonObject json,
- String? changeRootName,
override
Implementation
@override
FutureOr<void> addDocument({
required String collectionPath,
required JsonObject json,
String? changeRootName,
}) async {
await documentMapper.jsonToDocument(
path: collectionPath,
json: json,
onParsed: _onDocumentParsed,
changeRootName: changeRootName,
);
}