getState method
Read the current state once.
Implementation
Future<MigrationManagerState> getState() async {
_ensureNotDisposed();
final result =
await _methodChannel.invokeMethod<Map<Object?, Object?>>('getState');
return MigrationManagerState.fromMap(Map<String, dynamic>.from(result!));
}