Teacher.fromJson constructor
Teacher.fromJson(
- Map json_
Implementation
Teacher.fromJson(core.Map json_)
: this(
courseId: json_.containsKey('courseId')
? json_['courseId'] as core.String
: null,
profile: json_.containsKey('profile')
? UserProfile.fromJson(
json_['profile'] as core.Map<core.String, core.dynamic>)
: null,
userId: json_.containsKey('userId')
? json_['userId'] as core.String
: null,
);