prefix property
String?
get
prefix
Implementation
String? get prefix {
if (_prefixIndex == -1) {
return null;
}
return prefixMap[_prefixIndex];
}
set
prefix
(String? prefix)
Implementation
set prefix(String? prefix) {
int prefixIndex = prefixMap.indexOf(prefix!);
if (prefixIndex == -1) {
throw ArgumentError(
"URI Prefix $prefix is not supported, please select one from $prefixMap");
} else {
_prefixIndex = prefixIndex;
}
}