ImageFile class

Image-StorageFile on a file storage.

Inheritance
Annotations

Constructors

ImageFile({required String relativeRef, String? checksum, int? size, int? width, int? height, ThumbHash? thumbhash})
ImageFile.fromJson(Map<String, dynamic> json)
Constructs an ImageFile from the provided json.
factory

Properties

checksum String?
SHA-256 checksum of this StorageFile.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height int?
Height of this ImageFile in pixels.
final
name String
Returns the name of this StorageFile.
no setterinherited
relativeRef String
Relative reference to this StorageFile on a file storage.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
Size of this StorageFile (in bytes).
finalinherited
thumbhash ThumbHash?
ThumbHash of this ImageFile.
final
url String
Returns an absolute URL to this StorageFile on a file storage.
no setterinherited
width int?
Width of this ImageFile in pixels.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a Map representing this ImageFile.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited