save method
Implementation
Future<dynamic> save() async {
if ((await mergeAndValidate()) == null) {
return null;
}
return await Collection.get(id: getCollection()).saveModel(this);
}
Future<dynamic> save() async {
if ((await mergeAndValidate()) == null) {
return null;
}
return await Collection.get(id: getCollection()).saveModel(this);
}