setVersion method Null safety
- int version
Implementation
RequestOptions setVersion(int version) {
if (version < 1) {
throw VersionException(version);
}
this.version = version;
return this;
}
RequestOptions setVersion(int version) {
if (version < 1) {
throw VersionException(version);
}
this.version = version;
return this;
}