analyzer_kit_annotation 1.0.0 copy "analyzer_kit_annotation: ^1.0.0" to clipboard
analyzer_kit_annotation: ^1.0.0 copied to clipboard

Annotations for use with the analyzer_kit analyzer plugin.

example/analyzer_kit_annotation_example.dart

import 'package:analyzer_kit_annotation/analyzer_kit_annotation.dart';

@CopyWith()
final class User {
  const User({required this.name, required this.age});

  final String name;
  final int age;
}

@copyWith
final class Todo {
  const Todo({required this.id, required this.title, required this.completed});

  final int id;
  final String title;
  final bool completed;
}
1
likes
160
points
61
downloads

Publisher

unverified uploader

Weekly Downloads

Annotations for use with the analyzer_kit analyzer plugin.

Repository (GitHub)
View/report issues

Topics

#annotation #analyzer #codegen

Documentation

API reference

License

MIT (license)

Dependencies

collection

More

Packages that depend on analyzer_kit_annotation