PlatformWebNotificationControllerCreationParams class

Object specifying creation parameters for creating a PlatformWebNotificationController.

Platform specific implementations can add additional fields by extending this class.

Annotations

Constructors

PlatformWebNotificationControllerCreationParams({required String id, required WebNotification notification})
Used by the platform implementation to create a new PlatformWebNotificationController.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Web notification ID.
final
notification → WebNotification
The notification data.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

isClassSupported({TargetPlatform? platform}) → bool
Check if the current class is supported by the defaultTargetPlatform or a specific platform.
isPropertySupported(PlatformWebNotificationControllerCreationParamsProperty property, {TargetPlatform? platform}) → bool
Check if the given property is supported by the defaultTargetPlatform or a specific platform.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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