Google is committed to advancing racial equity for Black communities. See how.

validate method

void validate (T value)

Implementation

void validate(T value) {
  _throwIfCountMismatch(value.length, elementCount);
}