executeUssdDirect method

Future<String?> executeUssdDirect(
  1. String ussdCode,
  2. int timeoutSeconds, {
  3. int? subscriptionId,
  4. bool iosFallbackToStandard = false,
})

Executes a USSD code directly and gets the response without showing the native system dialog (Android only)

ussdCode - The USSD code to execute timeoutSeconds - Timeout in seconds subscriptionId - (Optional) Subscription ID (SIM slot). If not provided and there are multiple SIMs, the native selector will be shown. If there is only one SIM, it is used by default. iosFallbackToStandard - (iOS only) If true, uses executeUssd as fallback.

Implementation

Future<String?> executeUssdDirect(
  String ussdCode,
  int timeoutSeconds, {
  int? subscriptionId,
  bool iosFallbackToStandard = false,
}) {
  throw UnimplementedError('executeUssdDirect() has not been implemented.');
}