NodeRuntimeHandlerFeatures.fromMap constructor

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

Implementation

factory NodeRuntimeHandlerFeatures.fromMap(Map<String, dynamic> map) {
  return NodeRuntimeHandlerFeatures(
    recursiveReadOnlyMounts: (() { final guardedValue = map['recursiveReadOnlyMounts']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
    userNamespaces: (() { final guardedValue = map['userNamespaces']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
  );
}