Guardian.fromJson constructor
Guardian.fromJson(
- Map json_
Implementation
Guardian.fromJson(core.Map json_)
: this(
guardianId: json_.containsKey('guardianId')
? json_['guardianId'] as core.String
: null,
guardianProfile: json_.containsKey('guardianProfile')
? UserProfile.fromJson(json_['guardianProfile']
as core.Map<core.String, core.dynamic>)
: null,
invitedEmailAddress: json_.containsKey('invitedEmailAddress')
? json_['invitedEmailAddress'] as core.String
: null,
studentId: json_.containsKey('studentId')
? json_['studentId'] as core.String
: null,
);