save method
Implementation
Future<T?> save(T entity, {bool isUpsert = false}) async {
Map mapObject = await _channel
.invokeMethod("Backendless.Data.of.save", <String, dynamic>{
'tableName': _tableName,
'entity': reflector.serialize(entity),
'isUpsert': isUpsert
});
return reflector.deserialize<T>(mapObject);
}