showNotification method
Shows a notification with the specified title, message, and duration.
title
is the title of the notification.
message
is an optional message content of the notification.
duration
is the duration for which the notification should be displayed (default is 3.0 seconds).
Implementation
void showNotification(
{required String title, String? message, double duration = 3.0}) {
StorifyMeFlutterPluginPlatform.instance
.showNotification(title: title, message: message, duration: duration);
}