WallpaperPhoto class
- Available extensions
- Annotations
-
- @CopyWith.new()
- @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
- WallpaperPhoto({required String id, required String thumbUrl, required String url, required String? color, required int width, required int height, required String author, required String authorUrl, required String sourceUrl, required String downloadLocation})
- Returns a new WallpaperPhoto instance.
-
WallpaperPhoto.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
final
-
final
- color → String?
-
final
- copyWith → _$WallpaperPhotoCWProxy
-
Available on WallpaperPhoto, provided by the $WallpaperPhotoCopyWith extension
Returns a callable class used to build a new instance with modified fields. Example:instanceOfWallpaperPhoto.copyWith(...)orinstanceOfWallpaperPhoto.copyWith.fieldName(...).no setter - downloadLocation → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → int
-
final
- id → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceUrl → String
-
final
- thumbUrl → String
-
final
- url → String
-
final
- width → int
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override