showToast static method

Future<void> showToast(
  1. String message
)

Implementation

static Future<void> showToast(String message) async {
  try {
    await _channel.invokeMethod('showToast', {'message': message});
  } on PlatformException catch (e) {
    print("Failed to showToast: '${e.message}'.");
  }
}