Wallpaper class

Chat wallpaper.

Annotations
  • @freezed

Constructors

Wallpaper({@JsonKey(name: 'key') required String key, @JsonKey(name: 'name') required String name, @JsonKey(name: 'url') required String url})
const
factory
Wallpaper.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $WallpaperCopyWith<Wallpaper>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
key String
Unique identifier.
no setterinherited
name String
Localized description.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
Url to jpg or png.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited