toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var temporaryAttachmentId = this.temporaryAttachmentId;
  var fileName = this.fileName;

  final json = <String, Object?>{};
  if (temporaryAttachmentId != null) {
    json[r'temporaryAttachmentId'] = temporaryAttachmentId;
  }
  if (fileName != null) {
    json[r'fileName'] = fileName;
  }
  return json;
}