toJson method

Map<String, dynamic> toJson()

Implementation

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