ImageEditPartialImageEvent class
Partial image chunk emitted during streaming edit.
- Inheritance
-
- Object
- ImageEditStreamEvent
- ImageEditPartialImageEvent
- Annotations
-
- @immutable
Constructors
- ImageEditPartialImageEvent({required String b64Json, required int createdAt, required ImageSize size, required ImageQuality quality, required ImageBackground background, required ImageOutputFormat outputFormat, required int partialImageIndex})
-
Creates an ImageEditPartialImageEvent.
const
-
ImageEditPartialImageEvent.fromJson(Map<
String, dynamic> json) -
Creates an ImageEditPartialImageEvent from JSON.
factory
Properties
- b64Json → String
-
Base64-encoded partial image data.
final
- background → ImageBackground
-
Background.
final
- createdAt → int
-
Unix timestamp when the event was created.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- outputFormat → ImageOutputFormat
-
Output format.
final
- partialImageIndex → int
-
0-based index of this partial image.
final
- quality → ImageQuality
-
Image quality.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → ImageSize
-
Image size. May be ImageSize.unknown for out-of-spec values.
final
- 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