fieldsWhere method

Iterable<FieldReflection<O, dynamic>> fieldsWhere(
  1. bool test(
    1. FieldReflection<O, dynamic> f
    ), [
  2. O? obj
])

Returns a List of fields FieldReflection that matches test.

Implementation

Iterable<FieldReflection<O, dynamic>> fieldsWhere(
    bool Function(FieldReflection<O, dynamic> f) test,
    [O? obj]) {
  return allFields(obj).where(test);
}