fieldsNamesWhere method
Iterable<String>
fieldsNamesWhere(
- bool test(
- FieldReflection<
O, dynamic> f
- FieldReflection<
- O? obj,
- bool jsonName = false
Returns a List of fields names that matches test
.
Implementation
Iterable<String> fieldsNamesWhere(
bool Function(FieldReflection<O, dynamic> f) test,
[O? obj,
bool jsonName = false]) {
return fieldsWhere(test, obj).map((e) => e.resolveName(jsonName));
}