toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.allowDownload != null) {
    json[r'allowDownload'] = this.allowDownload;
  } else {
    json[r'allowDownload'] = null;
  }
    json[r'allowList'] = this.allowList;
  if (this.dataroomId != null) {
    json[r'dataroomId'] = this.dataroomId;
  } else {
    json[r'dataroomId'] = null;
  }
    json[r'denyList'] = this.denyList;
  if (this.documentId != null) {
    json[r'documentId'] = this.documentId;
  } else {
    json[r'documentId'] = null;
  }
  if (this.emailProtected != null) {
    json[r'emailProtected'] = this.emailProtected;
  } else {
    json[r'emailProtected'] = null;
  }
  if (this.expiresAt != null) {
    json[r'expiresAt'] = this.expiresAt;
  } else {
    json[r'expiresAt'] = null;
  }
  if (this.name != null) {
    json[r'name'] = this.name;
  } else {
    json[r'name'] = null;
  }
  if (this.password != null) {
    json[r'password'] = this.password;
  } else {
    json[r'password'] = null;
  }
  return json;
}