assertStringValues static method
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);
}
}