FluxSpeakConfigureFailure class
A ConfigureFailure message: rejection of a configuration change.
Constructors
- FluxSpeakConfigureFailure({required String code, String? field, double? value, String? description})
-
Creates a configure-failure message.
const
-
FluxSpeakConfigureFailure.fromJson(Map<
String, dynamic> json) -
Defensively parses a
ConfigureFailureframe; missing fields fall back to empty or null values.factory
Properties
- code → String
-
Failure code:
SPEED_OUT_OF_RANGE(outside the published range),SPEED_INCREMENT_INVALID(inside the range but off the 0.05 increment),SPEED_NOT_SUPPORTED(this model or language has no runtime speed control),CONTROL_COMBINATION_INVALID(speed was set while a buffered turn still carries a pronunciation control), orINTERNAL_ERROR(server-side failure).final - description → String?
-
Human-readable description of the failure.
final
- field → String?
-
The configuration field the failure is about (
speed). Null when the failure is not tied to one field.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → double?
-
The rejected value for field. Null when there is no offending
value to echo.
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