setMaximumSize method

Future<void> setMaximumSize (int numBytes)

Sets the maximum size the database will grow to.

The maximum size cannot be set below the current size.

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

Implementation

Future<void> setMaximumSize(final int numBytes) {
  final Map<String, dynamic> request = <String, dynamic>{
    'id': id,
    'numBytes': numBytes
  };
  return _channel.invokeMethod('setMaximumSize', request);
}