Notification class
- Inheritance
- Object
- EventTarget
- Notification
- Annotations
- @Native.new("Notification")
Constructors
Properties
- actions→List?
- no setter
- badge→String?
- no setter
- body→String?
- no setter
- data→Object?
- no setter
- dir→String?
- no setter
- hashCode→int
- The hash code for this object.no setterinherited
- icon→String?
- no setter
- image→String?
- no setter
- lang→String?
- no setter
- on→Events
- This is an ease-of-use accessor for event streams which should only beused when an explicit accessor is not available.no setterinherited
- onClick→Stream<
Event> - Stream of
clickevents handled by thisNotification.no setter - onClose→Stream<
Event> - Stream of
closeevents handled by thisNotification.no setter - onError→Stream<
Event> - Stream of
errorevents handled by thisNotification.no setter - onShow→Stream<
Event> - Stream of
showevents handled by thisNotification.no setter - renotify→bool?
- no setter
- requireInteraction→bool?
- no setter
- runtimeType→Type
- A representation of the runtime type of the object.no setterinherited
- silent→bool?
- no setter
- tag→String?
- no setter
- timestamp→int?
- no setter
- title→String?
- no setter
- vibrate→List<
int> ? - no setter
Methods
- addEventListener(
Stringtype,EventListener?listener, [bool?useCapture])→ void - inherited
- close(
)→ void - dispatchEvent(
Eventevent)→bool - inherited
- noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- removeEventListener(
Stringtype,EventListener?listener, [bool?useCapture])→ void - inherited
- toString(
)→String - A string representation of this object.inherited
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited
Static Properties
- maxActions→int?
- no setter
- permission→String?
- no setter
- supported→bool
- Checks if this type is supported on the current platform.no setter
Static Methods
Constants
- clickEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
clickevents to eventhandlers that are not necessarily instances ofNotification. - closeEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
closeevents to eventhandlers that are not necessarily instances ofNotification. - errorEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
errorevents to eventhandlers that are not necessarily instances ofNotification. - showEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
showevents to eventhandlers that are not necessarily instances ofNotification.