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