PhotoSrc class

Annotations
  • @JsonSerializable()

Constructors

PhotoSrc({String? original, String? large, String? large2x, String? medium, String? small, String? portrait, String? landscape, String? tiny})
const
PhotoSrc.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
landscape String?
The image cropped to W 1200px X H 627px.
final
large String?
The image resized to W 940px X H 650px DPR 1.
final
large2x String?
The image resized W 940px X H 650px DPR 2.
final
medium String?
The image scaled proportionally so that it's new height is 350px.
final
original String?
The image without any size changes. It will be the same as the width and height attributes.
final
portrait String?
The image cropped to W 800px X H 1200px.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
small String?
The image scaled proportionally so that it's new height is 130px.
final
tiny String?
The image cropped to W 280px X H 200px.
final

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