beginTransaction method

Future<void> beginTransaction ()

Begins a transaction in EXCLUSIVE mode.

See: https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase#beginTransaction()

Implementation

Future<void> beginTransaction() {
  final Map<String, dynamic> request = <String, dynamic>{
    'id': id,
    'mode': 'exclusive'
  };
  return _channel.invokeMethod('beginTransaction', request);
}