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