Version constructor

Version(
  1. {required int major,
  2. required int minor,
  3. required int patch,
  4. required int buildNumber}
)

Default constructor for Version.

Params:

  • major: the major field of the version.
  • minor: the minor field of the version.
  • patch: the patch field of the version.
  • buildNumber: the build number field of the version.

Implementation

factory Version