Supported Schema Tags topic
The secondary tag handle !!
is limited to tags below which all resolve to the YAML global tag prefix, tag:yaml.org,2002
.
-
YAML
schema tags!!map
-Map
!!seq
-List
!!str
-String
-
JSON
schema tags!!null
-null
!!bool
- Boolean.!!int
- Integer.hex
,octal
andbase 10
should use this.!!float
- double.
-
Dart
-specific schema tags (More will be supported)!!uri
- URI
Properties
- booleanTag → TagShorthand
-
JSON
boolfinal - floatTag → TagShorthand
-
JSON
doublefinal - integerTag → TagShorthand
-
JSON
intfinal - mappingTag → TagShorthand
-
Generic Map
final
- nullTag → TagShorthand
-
JSON
null
final -
scalarTags
→ Set<
TagShorthand> -
Any TagShorthand that resolves to a Scalar
final
- sequenceTag → TagShorthand
-
Generic List
final
- stringTag → TagShorthand
-
Generic String
final
- uriTag → TagShorthand
-
Uri tag
final
- yamlGlobalTag → GlobalTag
-
YAML
global tagfinal
Functions
-
isYamlTag(
TagShorthand tag) → bool -
Checks if a
tag
is valid tag in the yaml schema. A yaml tag uses the TagHandleVariant.secondary handle