isLegacyVersion property

bool get isLegacyVersion

Whether this is a legacy, handshake-based version this API supports.

Note: There may be extra fields included.

Implementation

bool get isLegacyVersion =>
    this >= oldestSupported && this <= lastLegacyVersion;