Create method
Implementation
@override
Future<bool> Create(IModelRF model, String docId) async {
String collectionname = model.runtimeType.toString();
Map<String, dynamic> data = model.getJson();
try {
final collection = _db.collection(collectionname);
collection.doc(docId).set(data);
return true;
} catch (e) {
debugPrint(e.toString());
return false;
}
}