PhotoSrc class
PhotoSrc hold different type of image sizes
Constructors
- PhotoSrc({required String? original, required String? large2x, required String? large, required String? medium, required String? small, required String? portrait, required String? landscape, required String? tiny})
- Named ConstructorsPhotoSrc with required params
-
PhotoSrc.fromJson(Map<
String, dynamic> json) -
Src.fromJsonMapping Json objectfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- landscape ↔ String?
-
The image cropped to W 1200px X H 627px.
getter/setter pair
- large ↔ String?
-
The image resized to W 940px X H 650px DPR 1.
getter/setter pair
- large2x ↔ String?
-
The image resized W 940px X H 650px DPR 2
getter/setter pair
- medium ↔ String?
-
The image scaled proportionally so that it's new height is 350px.
getter/setter pair
- original ↔ String?
-
The image without any size changes.
It will be the same as the
widthandheightattributes.getter/setter pair - portrait ↔ String?
-
The image cropped to W 800px X H 1200px.
getter/setter pair
- 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.
getter/setter pair
- tiny ↔ String?
-
The image cropped to W 280px X H 200px.
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