inTransaction property

Future<bool> inTransaction

Returns true if the current thread has a transaction pending.

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

Implementation

Future<bool> get inTransaction async {
  final Map<String, dynamic> request = <String, dynamic>{'id': id};
  return await _channel.invokeMethod('inTransaction', request);
}