Event class

Specifies the actions to be performed when the condition evaluates to TRUE.

Constructors

Event({required String eventName, List<Action>? actions, String? condition})
Event.fromJson(Map<String, dynamic> json)
factory

Properties

actions List<Action>?
The actions to be performed.
final
condition String?
Optional. The Boolean expression that, when TRUE, causes the actions to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE).
final
eventName String
The name of the event.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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