extractAlbumDetail function

List<AlbumDetailItem> extractAlbumDetail(
  1. List result
)

Implementation

List<AlbumDetailItem> extractAlbumDetail(List result) {
  List<AlbumDetailItem> list = (result)
      .map((item) {
    print("${item.runtimeType.toString()}");
    return AlbumDetailItem.fromJson(Map<String, dynamic>.from(item));
  }).toList();

  return list;
}