isUssdSupported method

  1. @override
Future<bool> isUssdSupported()
override

Checks if the device supports USSD codes

Implementation

@override
Future<bool> isUssdSupported() async {
  try {
    final result = await methodChannel.invokeMethod<bool>('isUssdSupported');
    return result ?? false;
  } on PlatformException {
    return false;
  }
}