extractMedias function

List<MediaItem> extractMedias(
  1. List result
)

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;
}