DescribeKinesisStreamingDestinationOutput.fromJson constructor

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

Implementation

factory DescribeKinesisStreamingDestinationOutput.fromJson(
    Map<String, dynamic> json) {
  return DescribeKinesisStreamingDestinationOutput(
    kinesisDataStreamDestinations: (json['KinesisDataStreamDestinations']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            KinesisDataStreamDestination.fromJson(e as Map<String, dynamic>))
        .toList(),
    tableName: json['TableName'] as String?,
  );
}