toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (emailAddress != null) 'emailAddress': emailAddress!,
  if (id != null) 'id': id!,
  if (name != null) 'name': name!,
  if (permissions != null) 'permissions': permissions!,
  if (photoUrl != null) 'photoUrl': photoUrl!,
  if (verifiedTeacher != null) 'verifiedTeacher': verifiedTeacher!,
};