toJson method
Implementation
Map<String, dynamic> toJson() {
final manifestLayout = this.manifestLayout;
final manifestName = this.manifestName;
final minBufferTimeSeconds = this.minBufferTimeSeconds;
final profile = this.profile;
final streamSelection = this.streamSelection;
return {
if (manifestLayout != null) 'manifestLayout': manifestLayout.toValue(),
if (manifestName != null) 'manifestName': manifestName,
if (minBufferTimeSeconds != null)
'minBufferTimeSeconds': minBufferTimeSeconds,
if (profile != null) 'profile': profile.toValue(),
if (streamSelection != null) 'streamSelection': streamSelection,
};
}