NotificationOptions constructor
NotificationOptions({})
Implementation
factory NotificationOptions({
_i2.List<_i3.NotificationAction>? actions,
_i2.String? badge,
_i2.String? body,
_i2.dynamic data,
_i3.NotificationDirection? dir,
_i2.String? icon,
_i2.String? image,
_i2.String? lang,
_i2.bool? renotify,
_i2.bool? requireInteraction,
_i2.bool? silent,
_i2.String? tag,
_i2.int? timestamp,
_i2.Object? vibrate,
}) =>
NotificationOptions._(
actions: actions,
badge: badge,
body: body,
data: data,
dir: dir?.name ?? _i6.undefined,
icon: icon,
image: image,
lang: lang,
renotify: renotify,
requireInteraction: requireInteraction,
silent: silent ?? _i6.undefined,
tag: tag,
timestamp: timestamp,
vibrate: vibrate ?? _i6.undefined,
);