AiutaUploadedImage class
Represents an image uploaded by the user. Contains an ID that can be reused with the Aiuta API to skip the upload step for previously uploaded images.
- Inheritance
-
- Object
- AiutaHistoryImage
- AiutaUploadedImage
- Annotations
-
- @JsonSerializable()
Constructors
- AiutaUploadedImage({required String id, required String url})
- Creates an AiutaUploadedImage with the given ID and URL.
-
AiutaUploadedImage.fromJson(Map<
String, dynamic> json) -
Converts the JSON object to an AiutaUploadedImage.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the AiutaUploadedImage to a JSON object.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited