showAlert method

  1. @override
Future<void> showAlert(
  1. String title,
  2. String message
)
override

Implementation

@override
 Future<void> showAlert(String title, String message) async {
  try {
    Map<String, dynamic> arguments = {
      'title': title,
      'message': message,
    };
    await methodChannel.invokeMethod('showAlert', arguments);
  } on PlatformException catch (e) {
    print(e);
  }
}