Image class
A class representing an image model.
This class extends File and inherits all its properties and methods, representing an image file within the application.
Constructors
- Image()
Properties
- createdAt ↔ JsonDate
-
The creation date of the file.
getter/setter pairinherited
- error → String?
-
Gets the first general error message.
no setterinherited
-
errors
↔ Map<
String, String?> -
Map of field-specific errors.
getter/setter pairinherited
-
fields
→ List<
JsonField> -
List of JSON fields representing the file attributes.
no setteroverride
-
generalErrors
↔ List<
String> -
List of general errors.
getter/setter pairinherited
-
generalInformations
↔ List<
String> -
List of general informational messages.
getter/setter pairinherited
-
generalWarnings
↔ List<
String> -
List of general warnings.
getter/setter pairinherited
- hasError → bool
-
Checks if the model has any errors.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasInformation → bool
-
Checks if the model has any informational messages.
no setterinherited
- hasWarning → bool
-
Checks if the model has any warnings.
no setterinherited
- id ↔ JsonInteger
-
The ID of the file.
getter/setter pairinherited
- information → String?
-
Gets the first general informational message.
no setterinherited
-
informations
↔ Map<
String, String?> -
Map of field-specific informational messages.
getter/setter pairinherited
- mimeType ↔ JsonString
-
The MIME type of the file.
getter/setter pairinherited
- name ↔ JsonString
-
The name of the file.
getter/setter pairinherited
- path ↔ JsonString
-
The path of the file.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ JsonInteger
-
The size of the file.
getter/setter pairinherited
-
thumbnailFile
↔ JsonObject<
File> -
The thumbnail file of the image.
getter/setter pair
- thumbnailFileId ↔ JsonInteger
-
The thumbnail file ID of the image.
getter/setter pair
- thumbnailUrl ↔ JsonString
-
The thumbnail URL of the image.
getter/setter pair
- updatedAt ↔ JsonDate
-
The last update date of the file.
getter/setter pairinherited
- url ↔ JsonString
-
The URL of the file.
getter/setter pairinherited
- warning → String?
-
Gets the first general warning message.
no setterinherited
-
warnings
↔ Map<
String, String?> -
Map of field-specific warnings.
getter/setter pairinherited
Methods
-
fromJSON(
dynamic json) → void -
Deserializes the JSON data to the model.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → Map< String, dynamic> -
Serializes the model to JSON.
inherited
-
toString(
) → String -
Converts the model to a JSON string.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String name) → dynamic -
Gets the value of a field by name.
inherited
-
operator []=(
String name, dynamic value) → void -
Sets the value of a field by name.
inherited