setPageSize method

Future<void> setPageSize (int numBytes)

Sets the database page size.

The page size must be a power of two. This method does not work if any data has been written to the database file, and must be called right after the database has been created.

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

Implementation

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