TranscriptUsageUnknown class
Forward-compatibility fallback for an unrecognized TranscriptUsage variant. Preserves the raw JSON so round-trip re-serialization does not drop forward-compatible fields.
- Inheritance
-
- Object
- TranscriptUsage
- TranscriptUsageUnknown
- Annotations
-
- @immutable
Constructors
-
TranscriptUsageUnknown({required String rawType, required Map<
String, dynamic> rawJson}) -
Creates a TranscriptUsageUnknown.
const
-
TranscriptUsageUnknown.fromJson(Map<
String, dynamic> json) -
Creates a TranscriptUsageUnknown from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
rawJson
→ Map<
String, dynamic> -
The original JSON payload (preserved verbatim).
final
- rawType → String
-
The unknown
typevalue from the server.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The discriminator value.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes the usage object.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override