mutable_copy_generator 0.2.6
mutable_copy_generator: ^0.2.6

Dart native

Mutable copy generator simplify copy of immutable object. Unlike CopyWith allow to set null value

example/example.dart

import 'package:meta/meta.dart' show immutable;
import 'package:mutable_copy/mutable_copy.dart';

part 'example.g.dart';

@immutable
@MutableCopy()
class SimpleObject {
  final String id;
  final int value;

  SimpleObject({this.id, this.value});
}
1
likes
80
pub points
2%
popularity

Mutable copy generator simplify copy of immutable object. Unlike CopyWith allow to set null value

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

alexvegner@gmail.com

License

MIT (LICENSE)

Dependencies

analyzer, build, mutable_copy, path, source_gen

More

Packages that depend on mutable_copy_generator