fieldsWithType method
Implementation
Map<String, TypeInfo> fieldsWithType(
bool Function(String fieldName, TypeInfo fieldType) typeFilter, [
O? o,
]) => Map<String, TypeInfo>.unmodifiable(
fieldsTypes(o).entries
.where((e) => typeFilter(e.key, e.value))
.toMapFromEntries(),
);