delete method
Convenience method for deleting rows in the database.
Implementation
Future<int> delete({
@required final String table,
final String where,
final List<String> whereArgs,
}) async {
final Map<String, dynamic> request = <String, dynamic>{
'id': id,
'table': table,
'whereClause': where, // note the name mapping
'whereArgs': whereArgs,
};
return await _channel.invokeMethod('delete', request);
}