toJson method
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.conversionCap != null) {
json[r'conversionCap'] = this.conversionCap;
} else {
json[r'conversionCap'] = null;
}
if (this.discountRate != null) {
json[r'discountRate'] = this.discountRate;
} else {
json[r'discountRate'] = null;
}
if (this.interestRate != null) {
json[r'interestRate'] = this.interestRate;
} else {
json[r'interestRate'] = 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;
}
return json;
}