major property

int get major

Return the major element of the version.

Implementation

int get major => versionNumber ~/ (100 * 100);