getAlbums static method
Implementation
static Future<dynamic> getAlbums() async {
final List<dynamic> images = await _channel.invokeMethod('getAlbums');
List<Album> albums = <Album>[];
for (var element in images) {
albums.add(Album.fromJson(element));
}
return albums;
}