CmafAdditionalManifest.fromJson constructor

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

Implementation

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