SyniRuntimeAnswer class

How the runtime handled a state turn (the response's answer object, runtime 0.8.0+). Null on a turn without state.

Constructors

SyniRuntimeAnswer({required bool checked, String? replaced, String? mentioned})
const
SyniRuntimeAnswer.fromMap(Map map)
factory

Properties

checked → bool
The reply was checked against the facts the turn was given. False for a turn the host stopped.
final
hashCode → int
The hash code for this object.
no setterinherited
mentioned → String?
The id of the fact Syni brought up unprompted. Keep it with the time and send it back in state.mentioned, so it stays quiet for a week.
final
replaced → String?
Why the model's reply was replaced with Syni's own answer, when it was.
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