assertStringValues static method

void assertStringValues(
  1. List values
)

Assert each entry of values is String or StringField.

Implementation

static void assertStringValues(List values) {
  assertNotNullValues(values);
  for (var v in values) {
    assert(v is String || v is StringField);
  }
}