isOpen property

Future<bool> isOpen

Returns true if the database is currently open.

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

Implementation

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