Thumbnail class

A single thumbnail, with its size and format.

Constructors

Thumbnail({String? contentType, String? data, int? heightPx, int? widthPx})
Thumbnail.fromJson(Map json_)

Properties

contentType String?
The thumbnail's content type, i.e. "image/png".
getter/setter pair
data String?
The thumbnail file itself.
getter/setter pair
dataAsBytes List<int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heightPx int?
The height of the thumbnail, in pixels.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widthPx int?
The width of the thumbnail, in pixels.
getter/setter pair

Methods

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

Operators

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