Version constructor Null safety

Version(
  1. {int? major,
  2. int? minor}
)

Implementation

Version({
  this.major,
  this.minor,
});