isGenericNode function Custom Resolvers
Whether the node with the property should be parsed as a generic !!map
or !!seq or !!str.
Implementation
bool isGenericNode(ParsedProperty? property) {
if (property == null) return false;
final kind = property.kind;
return kind.isGeneric ||
(property is NodeProperty && property.tag != null && !kind.isKnown);
}