setVersion method

Future<void> setVersion (int version)

Sets the database version.

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

Implementation

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