SemVer constructor

const SemVer(
  1. int major,
  2. int minor,
  3. int patch, [
  4. String? preRelease,
])

Implementation

const SemVer(this.major, this.minor, this.patch, [this.preRelease]);