HlsAdditionalManifest.fromJson constructor

HlsAdditionalManifest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HlsAdditionalManifest.fromJson(Map<String, dynamic> json) {
  return HlsAdditionalManifest(
    manifestNameModifier: json['manifestNameModifier'] as String?,
    selectedOutputs: (json['selectedOutputs'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}