showToast static method

Future<void> showToast(
  1. String message,
  2. String duration
)

Implementation

static Future<void> showToast(String message, String duration) async {
  await _channel.invokeMethod('showToast', {'message':message, 'duration':duration});
}