toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.layout != null) {
    json[r'layout'] = this.layout;
  } else {
    json[r'layout'] = null;
  }
    json[r'name'] = this.name;
  if (this.quality != null) {
    json[r'quality'] = this.quality;
  } else {
    json[r'quality'] = null;
  }
  if (this.streamKey != null) {
    json[r'stream_key'] = this.streamKey;
  } else {
    json[r'stream_key'] = null;
  }
    json[r'stream_url'] = this.streamUrl;
  return json;
}