isVersion2 property

bool isVersion2

Checks if this version is 2.0, which is assumed to be true unless a different version is specified.

Implementation

bool get isVersion2 =>
    getProperty<VersionProperty>(VersionProperty.propertyName)?.isVersion2 ??
    true;