ListStudentSubmissionsResponse.fromJson constructor

ListStudentSubmissionsResponse.fromJson(
  1. Map json_
)

Implementation

ListStudentSubmissionsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        studentSubmissions: json_.containsKey('studentSubmissions')
            ? (json_['studentSubmissions'] as core.List)
                .map((value) => StudentSubmission.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );