assertNumValues static method

void assertNumValues(
  1. List values
)

Assert each entry of values is num or NumField.

Implementation

static void assertNumValues(List values) {
  assertNotNullValues(values);
  for (var v in values) {
    assert(v is num || v is NumField);
  }
}