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