ListDeliveryStreamsOutput.fromJson constructor

ListDeliveryStreamsOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListDeliveryStreamsOutput.fromJson(Map<String, dynamic> json) {
  return ListDeliveryStreamsOutput(
    deliveryStreamNames: (json['DeliveryStreamNames'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
    hasMoreDeliveryStreams: json['HasMoreDeliveryStreams'] as bool,
  );
}