StacDelayAction class

Simple delay action that waits for a number of milliseconds.

Defaults are applied in the parser; the model accepts a nullable value.

Dart example:

const StacDelayAction(milliseconds: 500);

JSON example:

{ "actionType": "delay", "milliseconds": 500 }
Inheritance
Annotations
  • @JsonSerializable()

Constructors

StacDelayAction.new({int? milliseconds})
Creates a StacDelayAction that waits for a specified duration.
const
StacDelayAction.fromJson(Map<String, dynamic> json)
Creates a StacDelayAction from JSON.
factory

Properties

actionType String
Action type identifier.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
jsonData Map<String, dynamic>?
The raw JSON data associated with this action.
finalinherited
milliseconds int?
Delay in milliseconds to wait.
final
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>
Converts this action to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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