of static method
Implementation
static Notification of({
required String? title,
String? subtitle,
String? body,
Uri? imageUrl
}) {
final self = Notification(<String, dynamic>{}, mtype: NotificationRef, update: true);
if (title != null) self.title = title;
if (subtitle != null) self.subtitle = subtitle;
if (body != null) self.body = body;
if (imageUrl != null) self.imageUrl = imageUrl;
return self;
}