show method

Future<void> show()

Implementation

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