BlockchainNodesEthereumDetailsValidatorConfig.fromMap constructor

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

Implementation

factory BlockchainNodesEthereumDetailsValidatorConfig.fromMap(Map<String, dynamic> map) {
  return BlockchainNodesEthereumDetailsValidatorConfig(
    beaconFeeRecipient: (() { final guardedValue = map['beaconFeeRecipient']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    mevRelayUrls: (() { final guardedValue = map['mevRelayUrls']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
  );
}