show method
Implementation
Future<void> show() async {
await _channel.invokeMethod(
Platform.isAndroid ? 'showToast' : 'showAlert',
{'message': message, 'short-duration': shortDuration},
);
}
Future<void> show() async {
await _channel.invokeMethod(
Platform.isAndroid ? 'showToast' : 'showAlert',
{'message': message, 'short-duration': shortDuration},
);
}