ElementaryStream.fromJson constructor

ElementaryStream.fromJson(
  1. Map json_
)

Implementation

ElementaryStream.fromJson(core.Map json_)
    : this(
        audioStream: json_.containsKey('audioStream')
            ? AudioStream.fromJson(
                json_['audioStream'] as core.Map<core.String, core.dynamic>)
            : null,
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        textStream: json_.containsKey('textStream')
            ? TextStream.fromJson(
                json_['textStream'] as core.Map<core.String, core.dynamic>)
            : null,
        videoStream: json_.containsKey('videoStream')
            ? VideoStream.fromJson(
                json_['videoStream'] as core.Map<core.String, core.dynamic>)
            : null,
      );