fill method
Mass assigns attributes, honoring fillable/guarded metadata.
Supports maps, tracked models, DTOs, and partial entities.
Implementation
Model<TModel> fill(
Object attributes, {
bool strict = false,
ValueCodecRegistry? registry,
}) {
final codecs = _effectiveCodecRegistry(registry);
final normalized = _normalizeFillAttributes(attributes, codecs);
_asAttributes.fillAttributes(
normalized,
strict: strict,
registry: codecs,
);
return _self();
}