major property Null safety

int major
final

The major version number: "1" in "1.2.3".

Implementation

final int major;