ListStudentsResponse.fromJson constructor

ListStudentsResponse.fromJson(
  1. Map json_
)

Implementation

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