Invitation.fromJson constructor
Invitation.fromJson(
- Map json_
Implementation
Invitation.fromJson(core.Map json_)
: this(
courseId: json_.containsKey('courseId')
? json_['courseId'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
role: json_.containsKey('role') ? json_['role'] as core.String : null,
userId: json_.containsKey('userId')
? json_['userId'] as core.String
: null,
);