toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creationTime != null) 'creationTime': creationTime!,
      if (invitationId != null) 'invitationId': invitationId!,
      if (invitedEmailAddress != null)
        'invitedEmailAddress': invitedEmailAddress!,
      if (state != null) 'state': state!,
      if (studentId != null) 'studentId': studentId!,
    };