toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (guardianId != null) 'guardianId': guardianId!,
if (guardianProfile != null) 'guardianProfile': guardianProfile!,
if (invitedEmailAddress != null)
'invitedEmailAddress': invitedEmailAddress!,
if (studentId != null) 'studentId': studentId!,
};