isInvalidVersion method Null safety

bool isInvalidVersion(
  1. int version
)

Implementation

bool isInvalidVersion(int version) {
  return version > 16;
}