toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "renditions": renditions == null ? [] : List<dynamic>.from(renditions!.map((x) => x.toJson())),
      "variantStreams": variantStreams == null ? [] : List<dynamic>.from(variantStreams!.map((x) => x.toJson())),
    };