FlowDestinationFlowConfig.fromMap constructor

FlowDestinationFlowConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory FlowDestinationFlowConfig.fromMap(Map<String, dynamic> map) {
  return FlowDestinationFlowConfig(
    apiVersion: (() { final guardedValue = map['apiVersion']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    connectorProfileName: (() { final guardedValue = map['connectorProfileName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    connectorType: pulumi.Input.fromValue(map['connectorType'] as String),
    destinationConnectorProperties: pulumi.Input.fromValue(FlowDestinationFlowConfigDestinationConnectorProperties.fromMap((map['destinationConnectorProperties']! as Map).cast<String, dynamic>())),
  );
}