getStatus method

  1. @override
Future<String> getStatus()
override

Implementation

@override
Future<String> getStatus() async {
  try {
    return await methodChannel.invokeMethod<String>('getStatus') ?? 'invalid';
  } on MissingPluginException catch (_) {
    throw MissingPluginException('No method found for getStatus() on channel');
  }
}