getVersion method

Future<int> getVersion ()

Gets the database version.

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

Implementation

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