OryksaPhoneEvent class

One event of the phone, from GET /v1/client/tv/pair/{id}/events.

Annotations

Constructors

OryksaPhoneEvent({required int seq, required OryksaPhoneEventType type, String? text, String? lang, bool isFinal = true})
Creates an event.
const
OryksaPhoneEvent.fromJson(Map<String, dynamic> j)
Reads one entry of events.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isFinal → bool
For OryksaPhoneEventType.text: the final text (always true for now).
final
lang → String?
For OryksaPhoneEventType.text: the language heard.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seq → int
Order of the event.
final
text → String?
For OryksaPhoneEventType.text: what the person said.
final
type → OryksaPhoneEventType
Kind.
final

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