entityFieldsNamesWhere method

Iterable<String> entityFieldsNamesWhere(
  1. bool test(
    1. FieldReflection<O, dynamic> f
    ), [
  2. O? obj,
  3. bool jsonName = false
])

Returns a List of fields names that matches test.

Implementation

Iterable<String> entityFieldsNamesWhere(
    bool Function(FieldReflection<O, dynamic> f) test,
    [O? obj,
    bool jsonName = false]) {
  return entityFields(obj).where(test).map((e) => e.resolveName(jsonName));
}