fieldsNamesWhere method

Iterable<String> fieldsNamesWhere(
  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> fieldsNamesWhere(
    bool Function(FieldReflection<O, dynamic> f) test,
    [O? obj,
    bool jsonName = false]) {
  return fieldsWhere(test, obj).map((e) => e.resolveName(jsonName));
}