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