showToast static method

Future<void> showToast(
  1. String msg
)

Implementation

static Future<void> showToast(String msg) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent("msg", () => msg);
  await _channel.invokeMethod('showToast', args);
}