ListChannelMembershipsResponse.fromJson constructor
Implementation
factory ListChannelMembershipsResponse.fromJson(Map<String, dynamic> json) {
return ListChannelMembershipsResponse(
channelArn: json['ChannelArn'] as String?,
channelMemberships: (json['ChannelMemberships'] as List?)
?.whereNotNull()
.map((e) =>
ChannelMembershipSummary.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}