AppearanceApi class

Constructors

AppearanceApi(Dio _dio)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchWallpapers({String? q, int? page, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<WallpaperPhotoList>>
Search wallpaper photos. Only when the server has a photo source configured (config.wallpapers_enabled); 404 otherwise
toString() → String
A string representation of this object.
inherited
trackWallpaperDownload({required WallpaperDownloadRequest wallpaperDownloadRequest, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<void>>
Tell the photo source a photo was chosen (Unsplash requires this)

Operators

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