SemanticVersion constructor

SemanticVersion({
  1. int major = 0,
  2. int minor = 0,
  3. int patch = 0,
  4. int? preReleaseMajor,
  5. int? preReleaseMinor,
})

Implementation

SemanticVersion({
  this.major = 0,
  this.minor = 0,
  this.patch = 0,
  this.preReleaseMajor,
  this.preReleaseMinor,
});