toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.boardApprovalDate != null) {
json[r'boardApprovalDate'] = this.boardApprovalDate;
} else {
json[r'boardApprovalDate'] = null;
}
if (this.classType != null) {
json[r'classType'] = this.classType;
} else {
json[r'classType'] = null;
}
if (this.conversionRights != null) {
json[r'conversionRights'] = this.conversionRights;
} else {
json[r'conversionRights'] = null;
}
if (this.convertsToShareClassId != null) {
json[r'convertsToShareClassId'] = this.convertsToShareClassId;
} else {
json[r'convertsToShareClassId'] = null;
}
if (this.initialSharesAuthorized != null) {
json[r'initialSharesAuthorized'] = this.initialSharesAuthorized;
} else {
json[r'initialSharesAuthorized'] = null;
}
if (this.liquidationPreferenceMultiple != null) {
json[r'liquidationPreferenceMultiple'] = this.liquidationPreferenceMultiple;
} else {
json[r'liquidationPreferenceMultiple'] = null;
}
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.parValue != null) {
json[r'parValue'] = this.parValue;
} else {
json[r'parValue'] = null;
}
if (this.participationCapMultiple != null) {
json[r'participationCapMultiple'] = this.participationCapMultiple;
} else {
json[r'participationCapMultiple'] = null;
}
if (this.pricePerShare != null) {
json[r'pricePerShare'] = this.pricePerShare;
} else {
json[r'pricePerShare'] = null;
}
if (this.seniority != null) {
json[r'seniority'] = this.seniority;
} else {
json[r'seniority'] = null;
}
if (this.stockholderApprovalDate != null) {
json[r'stockholderApprovalDate'] = this.stockholderApprovalDate;
} else {
json[r'stockholderApprovalDate'] = null;
}
if (this.votesPerShare != null) {
json[r'votesPerShare'] = this.votesPerShare;
} else {
json[r'votesPerShare'] = null;
}
return json;
}