isReadOnly property

Future<bool> isReadOnly

Returns true if the database is opened as read only.

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

Implementation

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