copyWith function

Builder copyWith (
  1. BuilderOptions _
)

Supports package:build_runner creation and configuration of copy_with_extension_gen.

Not meant to be invoked by hand-authored code.

Implementation

Builder copyWith(BuilderOptions _) => SharedPartBuilder(
      [CopyWithGenerator()],
      'copyWith',
    );