Student.fromJson constructor

Student.fromJson(
  1. Map json_
)

Implementation

Student.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,
        studentWorkFolder: json_.containsKey('studentWorkFolder')
            ? DriveFolder.fromJson(json_['studentWorkFolder']
                as core.Map<core.String, core.dynamic>)
            : null,
        userId: json_.containsKey('userId')
            ? json_['userId'] as core.String
            : null,
      );