ListWorkGroupsOutput.fromJson constructor
Implementation
factory ListWorkGroupsOutput.fromJson(Map<String, dynamic> json) {
return ListWorkGroupsOutput(
nextToken: json['NextToken'] as String?,
workGroups: (json['WorkGroups'] as List?)
?.whereNotNull()
.map((e) => WorkGroupSummary.fromJson(e as Map<String, dynamic>))
.toList(),
);
}