OryksaTvAction class
A button of the assistant panel, from the ORYKSA server (tv.actions).
- Annotations
Constructors
- OryksaTvAction({required String id, required OryksaTvActionKind kind, required String label, String? message})
-
Creates a button.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Id of the button.
final
- kind → OryksaTvActionKind
-
What it does.
final
- label → String
-
Text on the button.
final
- message → String?
-
For OryksaTvActionKind.message: what is sent to the AI.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> j) → OryksaTvAction? -
Reads one entry of
tv.actions. Null when the kind is unknown or the label is empty.