toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'object'] = this.object;
json[r'id'] = this.id;
json[r'organization_id'] = this.organizationId;
json[r'name'] = this.name;
json[r'enrollment_mode'] = this.enrollmentMode;
if (this.affiliationEmailAddress != null) {
json[r'affiliation_email_address'] = this.affiliationEmailAddress;
} else {
json[r'affiliation_email_address'] = null;
}
if (this.verification != null) {
json[r'verification'] = this.verification;
} else {
json[r'verification'] = null;
}
json[r'total_pending_invitations'] = this.totalPendingInvitations;
json[r'total_pending_suggestions'] = this.totalPendingSuggestions;
json[r'created_at'] = this.createdAt;
json[r'updated_at'] = this.updatedAt;
return json;
}