toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.enabled != null) {
json[r'enabled'] = this.enabled;
} else {
json[r'enabled'] = null;
}
if (this.hls != null) {
json[r'hls'] = this.hls;
} else {
json[r'hls'] = null;
}
if (this.rtmp != null) {
json[r'rtmp'] = this.rtmp;
} else {
json[r'rtmp'] = null;
}
return json;
}