Version constructor

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

Implementation

factory Version({
  $core.int? major,
  $core.int? minor,
}) {
  final $result = create();
  if (major != null) {
    $result.major = major;
  }
  if (minor != null) {
    $result.minor = minor;
  }
  return $result;
}