forceFill method

Model<OrmMigrationRecord> forceFill(
  1. Map<String, Object?> attributes, {
  2. ValueCodecRegistry? registry,
})
inherited

Temporarily disables mass-assignment protection while callback runs.

Implementation

Model<TModel> forceFill(
  Map<String, Object?> attributes, {
  ValueCodecRegistry? registry,
}) {
  return ModelAttributes.unguarded(
    () => fill(
      attributes,
      strict: false,
      registry: _effectiveCodecRegistry(registry),
    ),
  );
}