Action class

The class that contains the information about an action

Annotations
  • @JsonSerializable()

Constructors

Action({required String name, String style = 'default', required String text, required String type, String? value})
Constructor used for json serialization
Action.fromJson(Map<String, dynamic> json)
Create a new instance from a json
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the action
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style String
The style of the action
final
text String
The test of the action
final
type String
The type of the action
final
value String?
The value of the action
final

Methods

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

Operators

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