public static Node from(ToNode value) {
        return value == null ? Node.nullNode() : value.toNode();
    }
Create a Node from a potentially null {@link ToNode} value.

@param value Value to create a node from.
@return Returns the created Node.
smithy-model/src/main/java/software/amazon/smithy/model/node/Node.java