KinesisDataStreamDestination.fromJson constructor

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

Implementation

factory KinesisDataStreamDestination.fromJson(Map<String, dynamic> json) {
  return KinesisDataStreamDestination(
    destinationStatus:
        (json['DestinationStatus'] as String?)?.toDestinationStatus(),
    destinationStatusDescription:
        json['DestinationStatusDescription'] as String?,
    streamArn: json['StreamArn'] as String?,
  );
}