arrayHashCode static method

int arrayHashCode(
  1. List<int>? a
)

Implementation

static int arrayHashCode(List<int>? a) {
  if (a == null) {
    return 0;
  }
  int result = 1;
  for (int element in a) {
    result = 31 * result + element;
  }
  return result;
}