showAlert static method
Implementation
static Future<void> showAlert(String title, String message) async {
try {
await _channel.invokeMethod('showAlert', {'title': title, 'message': message});
} on PlatformException catch (e) {
print("Failed to show alert: '${e.message}'.");
}
}