Manifest.fromJson constructor

Manifest.fromJson(
  1. Map json_
)

Implementation

Manifest.fromJson(core.Map json_)
    : this(
        dash: json_.containsKey('dash')
            ? DashConfig.fromJson(
                json_['dash'] as core.Map<core.String, core.dynamic>)
            : null,
        fileName: json_.containsKey('fileName')
            ? json_['fileName'] as core.String
            : null,
        muxStreams: json_.containsKey('muxStreams')
            ? (json_['muxStreams'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );