toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final s3Location = this.s3Location;
  final stream = this.stream;
  return {
    if (s3Location != null) 's3Location': s3Location,
    if (stream != null) 'stream': stream,
  };
}