menu
tweet_ui package
documentation
models/api/v1/entieties/media_entity.dart
Size class
Size class
dark_mode
light_mode
Size
class
Constructors
Size
({
required
int
w
,
required
int
h
,
required
String
resize
})
Size.fromJson
(
Map
<
String
,
dynamic
>
json
)
factory
Size.fromRawJson
(
String
str
)
factory
Properties
h
↔
int
Height in pixels of this size.
getter/setter pair
hashCode
→
int
The hash code for this object.
no setter
inherited
resize
↔
String
Resizing method used to obtain this size. A value of fit means that the media was resized to fit one dimension, keeping its native aspect ratio. A value of crop means that the media was cropped in order to fit a specific resolution.
getter/setter pair
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
w
↔
int
Width in pixels of this size.
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
tweet_ui package
documentation
models/api/v1/entieties/media_entity
Size class
media_entity library