Manifest.fromJson constructor

Manifest.fromJson(
  1. Map _json
)

Implementation

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