fieldsTypes method
Implementation
@override
Map<String, TypeInfo> fieldsTypes([O? o]) {
return _fieldsTypes ??= Map<String, TypeInfo>.unmodifiable(
Map<String, TypeInfo>.fromEntries(
reflectionWithObject(o).fieldsNames.map((f) {
var field = reflection.field(f, o);
if (field == null || !field.hasSetter) return null;
var type = TypeInfo.from(field);
return MapEntry(f, type);
}).nonNulls,
),
);
}