OutputGroupSettings.fromJson constructor

OutputGroupSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory OutputGroupSettings.fromJson(Map<String, dynamic> json) {
  return OutputGroupSettings(
    archiveGroupSettings: json['archiveGroupSettings'] != null
        ? ArchiveGroupSettings.fromJson(
            json['archiveGroupSettings'] as Map<String, dynamic>)
        : null,
    frameCaptureGroupSettings: json['frameCaptureGroupSettings'] != null
        ? FrameCaptureGroupSettings.fromJson(
            json['frameCaptureGroupSettings'] as Map<String, dynamic>)
        : null,
    hlsGroupSettings: json['hlsGroupSettings'] != null
        ? HlsGroupSettings.fromJson(
            json['hlsGroupSettings'] as Map<String, dynamic>)
        : null,
    mediaPackageGroupSettings: json['mediaPackageGroupSettings'] != null
        ? MediaPackageGroupSettings.fromJson(
            json['mediaPackageGroupSettings'] as Map<String, dynamic>)
        : null,
    msSmoothGroupSettings: json['msSmoothGroupSettings'] != null
        ? MsSmoothGroupSettings.fromJson(
            json['msSmoothGroupSettings'] as Map<String, dynamic>)
        : null,
    multiplexGroupSettings: json['multiplexGroupSettings'] != null
        ? MultiplexGroupSettings.fromJson(
            json['multiplexGroupSettings'] as Map<String, dynamic>)
        : null,
    rtmpGroupSettings: json['rtmpGroupSettings'] != null
        ? RtmpGroupSettings.fromJson(
            json['rtmpGroupSettings'] as Map<String, dynamic>)
        : null,
    udpGroupSettings: json['udpGroupSettings'] != null
        ? UdpGroupSettings.fromJson(
            json['udpGroupSettings'] as Map<String, dynamic>)
        : null,
  );
}