DatasetContentDeliveryDestination.fromJson constructor

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

Implementation

factory DatasetContentDeliveryDestination.fromJson(
    Map<String, dynamic> json) {
  return DatasetContentDeliveryDestination(
    iotEventsDestinationConfiguration:
        json['iotEventsDestinationConfiguration'] != null
            ? IotEventsDestinationConfiguration.fromJson(
                json['iotEventsDestinationConfiguration']
                    as Map<String, dynamic>)
            : null,
    s3DestinationConfiguration: json['s3DestinationConfiguration'] != null
        ? S3DestinationConfiguration.fromJson(
            json['s3DestinationConfiguration'] as Map<String, dynamic>)
        : null,
  );
}