toJson method

Map<String, dynamic> toJson()

Implementation

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