Semver constructor

const Semver(
  1. int major, [
  2. int minor = 0,
  3. int patch = 0
])

Implementation

const Semver(this.major, [this.minor = 0, this.patch = 0]);