ListTeachersResponse.fromJson constructor
ListTeachersResponse.fromJson(
- Map json_
Implementation
ListTeachersResponse.fromJson(core.Map json_)
: this(
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
teachers: json_.containsKey('teachers')
? (json_['teachers'] as core.List)
.map((value) => Teacher.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);