insertDocument static method
Implementation
static Future insertDocument({
required String collectionName,
required String databaseName,
required Map<String, Object?> data,
}) async {
return await FlutterMongoStitchPlatform.instance.insertDocument(
collectionName: collectionName,
databaseName: databaseName,
data: data,
);
}