VersionException constructor

VersionException(
  1. int givenVersion
)

Implementation

VersionException(int givenVersion) {
  cause =
      'Unexpected "version", got $givenVersion expected a positive integer';
  this.givenVersion = givenVersion;
}