saveDocumentWithId method
Saves doc
to the database with the Document id set to id
.
Implementation
Future<String> saveDocumentWithId(String id, Document doc) =>
_methodChannel.invokeMethod('saveDocumentWithId',
<String, dynamic>{'database': name, 'id': id, 'map': doc.toMap()});