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