beginTransactionNonExclusive method

Future<void> beginTransactionNonExclusive ()

Begins a transaction in IMMEDIATE mode.

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

Implementation

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