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
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

hashCode int
The hash code for this object.
no setterinherited
id String
ID of the uploaded image.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
URL of the image.
finalinherited

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