wallpaper method

Future<Wallpaper> wallpaper(
  1. String id, {
  2. String? apiKey,
})

Implementation

Future<Wallpaper> wallpaper(String id, {String? apiKey}) async {
  return Wallpaper.fromJson(
    await _request(
      Uri.parse(
        '$_baseUrl/w/$id${apiKey != null ? '?apikey=$apiKey' : ''}',
      ),
    ),
  );
}