toNode method

Node toNode (dynamic value)

Returns Node from Node | String | num

Implementation

Node toNode(dynamic value) => value is Node
    ? value
    : value is num ? Dimension(value) : Anonymous(value);