JSNotification class

Wrapper object for Notification sent to Service Worker

Implemented types

Constructors

JSNotification(String title, [JSNotificationOptions? options])
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
options → JSNotificationOptions?
See: https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification#options
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/title
final

Methods

copyWith({String? title, JSNotificationOptions? options}) → JSNotification
copyWithSelf(JSNotification other) → JSNotification
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