Sizes class

All Tweets with native media (photos, video, and GIFs) will include a set of ‘thumb’, ‘small’, ‘medium’, and ‘large’ sizes with height and width pixel sizes. For photos and preview image media URLs, Photo Media URL formatting specifies how to construct different URLs for loading different sized photo media.

Constructors

Sizes({Size? thumb, Size? small, Size? large, Size? medium})
Sizes.fromJson(Map<String, dynamic> json)
factory
Sizes.fromRawJson(String str)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
large Size?
Information for a large-sized version of the media. Large-sized photo media will be limited to fit within a 2048x2048 boundary.
getter/setter pair
medium Size?
Information for a medium-sized version of the media. Medium-sized photo media will be limited to fit within a 1200x1200 boundary.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
small Size?
Information for a small-sized version of the media. Small-sized photo media will be limited to fit within a 680x680 boundary.
getter/setter pair
thumb Size?
Information for a thumbnail-sized version of the media. Thumbnail-sized photo media will be limited to fill a 150x150 boundary and cropped.
getter/setter pair

Methods

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

Operators

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