menu
dart_twitter_api package
documentation
api/media/data/size.dart
Size class
Size class
dark_mode
light_mode
Size
class
Annotations
@JsonSerializable(explicitToJson: true, fieldRename: FieldRename.snake)
Constructors
Size
()
Size.fromJson
(
Map
<
String
,
dynamic
>
json
)
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
toJson
(
)
→
Map
<
String
,
dynamic
>
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
dart_twitter_api package
documentation
api/media/data/size
Size class
size library