isWrongVersion0Program method Null safety

bool isWrongVersion0Program(
  1. int version,
  2. List<int> program
)

Implementation

bool isWrongVersion0Program(int version, List<int> program) {
  return version == 0 && (program.length != 20 && program.length != 32);
}