toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.additionalTerms != null) {
    json[r'additionalTerms'] = this.additionalTerms;
  } else {
    json[r'additionalTerms'] = null;
  }
  if (this.boardApprovalDate != null) {
    json[r'boardApprovalDate'] = this.boardApprovalDate;
  } else {
    json[r'boardApprovalDate'] = null;
  }
  if (this.capital != null) {
    json[r'capital'] = this.capital;
  } else {
    json[r'capital'] = null;
  }
  if (this.discountRate != null) {
    json[r'discountRate'] = this.discountRate;
  } else {
    json[r'discountRate'] = null;
  }
  if (this.issueDate != null) {
    json[r'issueDate'] = this.issueDate;
  } else {
    json[r'issueDate'] = null;
  }
  if (this.publicId != null) {
    json[r'publicId'] = this.publicId;
  } else {
    json[r'publicId'] = null;
  }
  if (this.stakeholderId != null) {
    json[r'stakeholderId'] = this.stakeholderId;
  } else {
    json[r'stakeholderId'] = null;
  }
  if (this.status != null) {
    json[r'status'] = this.status;
  } else {
    json[r'status'] = null;
  }
  if (this.type != null) {
    json[r'type'] = this.type;
  } else {
    json[r'type'] = null;
  }
  if (this.valuationCap != null) {
    json[r'valuationCap'] = this.valuationCap;
  } else {
    json[r'valuationCap'] = null;
  }
  return json;
}