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