entityFields method
Implementation
List<FieldReflection<O, dynamic>> entityFields([O? obj]) {
if (obj == null) {
if (object != null) {
return _entityFieldsObjectImpl();
} else {
return _entityFieldsNoObjectImpl();
}
} else if (identical(obj, object)) {
return _entityFieldsObjectImpl();
}
return _entityFieldsNoObjectImpl().map((f) => f.withObject(obj)).toList();
}