primaryPrefix property
String?
get
primaryPrefix
Get which prefix of property will be overriden when parse.
If it is Null, the feature will be disabled.
Implementation
String? get primaryPrefix => _primaryPrefix;
set
primaryPrefix
(String? prefix)
Specify which prefix should be resolve at first.
If it applied as Null, this feature will be disabled.
Implementation
set primaryPrefix(String? prefix) {
if (prefix != null) {
try {
_findCorrespondedParser(prefix);
} on StateError {
throw ArgumentError.value(prefix, "primaryPrefix",
"No registered parser using the given prefix.");
}
}
_primaryPrefix = prefix;
}