EngineNotification class Null safety

Engine Notification

Annotations

Constructors

EngineNotification({required String type, EngineNotificationParameter? parameter, String createdUtc = '', Duration validAge = Duration.zero})
Notification

Properties

createdUtc String
Timestamp created
final
hashCode int
The hash code for this object. [...]
read-only, inherited
parameter EngineNotificationParameter?
Some condition types can be coupled with values (e.g. DISTANCE_PASSED)
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
What kind of condition triggers this notification
final
validAge Duration
How long it's valid for
final

Methods

copyWith({String? type, EngineNotificationParameter? parameter, String? createdUtc, Duration? validAge}) EngineNotification
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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