createNotification method
Create notification (first step)
Implementation
Future<String> createNotification({
required String title,
required String message,
String? image,
List<NotificationAttachment>? attachments,
List<NotificationAction>? actions,
String? deepLink,
NotificationStyle? style,
Map<String, dynamic>? data,
bool? isTemplate,
DateTime? scheduledTime,
String? timezone,
}) async {
return await _platform.createNotification(
title: title,
message: message,
image: image,
attachments: attachments,
actions: actions,
deepLink: deepLink,
style: style,
data: data,
isTemplate: isTemplate,
scheduledTime: scheduledTime,
timezone: timezone,
);
}