copy_with_gen 0.1.0
copy_with_gen: ^0.1.0 copied to clipboard

A generator to make copyWith extension file.

example/lib/example.dart

import 'package:copy_with_gen/copy_with_gen.dart';

@copyWith
class CopyWithExample {
  final String name, age;
  final int amont;

  CopyWithExample(
    this.age, {
    this.name,
    this.amont,
  });
}

@copyWith
class Entity {
  Entity(this.firstName);

  final String firstName;
}
0
likes
70
pub points
0%
popularity

A generator to make copyWith extension file.

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, dart_style, path, project

More

Packages that depend on copy_with_gen