isPreV14 property
bool
get
isPreV14
Returns true if the metadata is for a pre v14 chain.
Implementation
bool get isPreV14 {
if (version < 14) {
return true;
}
if (version == 14) {
return false;
}
throw UnsupportedMetadataException(
'Unsupported metadata version: $version');
}