ImageEditUnknownEvent class
Forward-compatibility fallback for unrecognized image-edit stream events.
- Inheritance
-
- Object
- ImageEditStreamEvent
- ImageEditUnknownEvent
- Annotations
-
- @immutable
Constructors
-
ImageEditUnknownEvent({required String rawType, required Map<
String, dynamic> rawJson}) -
Creates an ImageEditUnknownEvent.
const
-
ImageEditUnknownEvent.fromJson(Map<
String, dynamic> json) -
Creates an ImageEditUnknownEvent 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 event.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override