cast<T extends YamlSourceNode> method

T cast<T extends YamlSourceNode>()

Casts a generic YamlSourceNode to a valid (and known) subtype

Implementation

T cast<T extends YamlSourceNode>() => this as T;