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