toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (boundStreamId != null) 'boundStreamId': boundStreamId!,
      if (boundStreamLastUpdateTimeMs != null)
        'boundStreamLastUpdateTimeMs':
            boundStreamLastUpdateTimeMs!.toUtc().toIso8601String(),
      if (closedCaptionsType != null)
        'closedCaptionsType': closedCaptionsType!,
      if (enableAutoStart != null) 'enableAutoStart': enableAutoStart!,
      if (enableAutoStop != null) 'enableAutoStop': enableAutoStop!,
      if (enableClosedCaptions != null)
        'enableClosedCaptions': enableClosedCaptions!,
      if (enableContentEncryption != null)
        'enableContentEncryption': enableContentEncryption!,
      if (enableDvr != null) 'enableDvr': enableDvr!,
      if (enableEmbed != null) 'enableEmbed': enableEmbed!,
      if (enableLowLatency != null) 'enableLowLatency': enableLowLatency!,
      if (latencyPreference != null) 'latencyPreference': latencyPreference!,
      if (mesh != null) 'mesh': mesh!,
      if (monitorStream != null) 'monitorStream': monitorStream!,
      if (projection != null) 'projection': projection!,
      if (recordFromStart != null) 'recordFromStart': recordFromStart!,
      if (startWithSlate != null) 'startWithSlate': startWithSlate!,
      if (stereoLayout != null) 'stereoLayout': stereoLayout!,
    };