JSNotificationOptions class

Implemented types

Constructors

JSNotificationOptions.new({List<JSNotificationAction>? actions, int? badge, String? body, Map<String, dynamic>? data, JSNotificationDirection? dir, String? icon, String? image, String? lang, bool? renotify, bool? requireInteraction, bool? silent, String? tag, int? timestamp, VibratePattern? vibrate})

Properties

actions List<JSNotificationAction>?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/actions
final
badge int?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/badge
final
body String?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/body
final
data Map<String, dynamic>?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/data
final
dir JSNotificationDirection?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/dir
final
hashCode int
The hash code for this object.
no setterinherited
icon String?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon
final
image String?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/image
final
lang String?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/lang
final
renotify bool?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/renotify
final
requireInteraction bool?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/requireInteraction
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
silent bool?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/silent
final
tag String?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/tag
final
timestamp int?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/timestamp
final
vibrate → VibratePattern?
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/vibrate
final

Methods

copyWith({List<JSNotificationAction>? actions, int? badge, String? body, Map<String, dynamic>? data, JSNotificationDirection? dir, String? icon, String? image, String? lang, bool? renotify, bool? requireInteraction, bool? silent, String? tag, int? timestamp, VibratePattern? vibrate}) JSNotificationOptions
copyWithSelf({JSNotificationOptions? options}) JSNotificationOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited