text property
String?
get
text
String value of the node, or null
if value in the pubspec file is null
or omitted.
Example
name: foo
version:
In the example above the PubspecNode for foo
will have text "foo", and
the PubspecNode for version
will have not have text as null
, as empty
value or "null"
is the same in YAML.
Implementation
String? get text;