toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.createdAt != null) {
    json[r'createdAt'] = this.createdAt;
  } else {
    json[r'createdAt'] = null;
  }
  if (this.decidedAt != null) {
    json[r'decidedAt'] = this.decidedAt;
  } else {
    json[r'decidedAt'] = null;
  }
  if (this.decidedBy != null) {
    json[r'decidedBy'] = this.decidedBy;
  } else {
    json[r'decidedBy'] = null;
  }
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
  if (this.kind != null) {
    json[r'kind'] = this.kind;
  } else {
    json[r'kind'] = null;
  }
  if (this.provider != null) {
    json[r'provider'] = this.provider;
  } else {
    json[r'provider'] = null;
  }
  if (this.status != null) {
    json[r'status'] = this.status;
  } else {
    json[r'status'] = null;
  }
  if (this.subjectId != null) {
    json[r'subjectId'] = this.subjectId;
  } else {
    json[r'subjectId'] = null;
  }
  if (this.updatedAt != null) {
    json[r'updatedAt'] = this.updatedAt;
  } else {
    json[r'updatedAt'] = null;
  }
  if (this.verifyUrl != null) {
    json[r'verifyUrl'] = this.verifyUrl;
  } else {
    json[r'verifyUrl'] = null;
  }
  return json;
}