Query$challenge$challenge$media.fromJson constructor

Query$challenge$challenge$media.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Query$challenge$challenge$media.fromJson(Map<String, dynamic> json) {
  final l$videos = json['videos'];
  final l$deg360 = json['deg360'];
  final l$pictures = json['pictures'];
  return Query$challenge$challenge$media(
    videos: (l$videos as List<dynamic>?)?.map((e) => (e as String)).toList(),
    deg360: (l$deg360 as List<dynamic>?)
        ?.map((e) => Query$challenge$challenge$media$deg360.fromJson(
            (e as Map<String, dynamic>)))
        .toList(),
    pictures: (l$pictures as List<dynamic>?)
        ?.map((e) => Query$challenge$challenge$media$pictures.fromJson(
            (e as Map<String, dynamic>)))
        .toList(),
  );
}