isDbLockedByCurrentThread property

Future<bool> isDbLockedByCurrentThread

Returns true if the current thread is holding an active connection to the database.

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

Implementation

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