BlockchainNodesEthereumDetails.fromMap constructor
BlockchainNodesEthereumDetails.fromMap(
- Map<String, dynamic> map
)
Implementation
factory BlockchainNodesEthereumDetails.fromMap(Map<String, dynamic> map) {
return BlockchainNodesEthereumDetails(
additionalEndpoints: (() { final guardedValue = map['additionalEndpoints']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<BlockchainNodesEthereumDetailsAdditionalEndpoint>(guardedValue, (value) => BlockchainNodesEthereumDetailsAdditionalEndpoint.fromMap((value as Map).cast<String, dynamic>()))); })(),
apiEnableAdmin: (() { final guardedValue = map['apiEnableAdmin']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
apiEnableDebug: (() { final guardedValue = map['apiEnableDebug']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
consensusClient: (() { final guardedValue = map['consensusClient']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
executionClient: (() { final guardedValue = map['executionClient']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
gethDetails: (() { final guardedValue = map['gethDetails']; if (guardedValue == null) return null; return pulumi.Input.fromValue(BlockchainNodesEthereumDetailsGethDetails.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
network: (() { final guardedValue = map['network']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
nodeType: (() { final guardedValue = map['nodeType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
validatorConfig: (() { final guardedValue = map['validatorConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(BlockchainNodesEthereumDetailsValidatorConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
);
}