# freezed_annotation 0.11.0+1

Annotations for the freezed code-generator. This package does nothing without freezed too.





## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'freezed_annotation:0.11.0+1'
```
Published: 2020-08-02T05:56:25.640712Z
Expected archive SHA-256: 11eecdb9dacfe2a3e93b03060f5c98d87cbb422295ddd07a2fa59cbd73165876

Available in cache; verification: upstream_checksum
## Direct dependencies
- collection: ^1.14.0
- json_annotation: >= 3.0.0 <4.0.0
- meta: ^1.1.0

## Package README (untrusted upstream documentation)
Annotations for [freezed].\
This package does nothing without [freezed].

[freezed]: https://pub.dartlang.org/packages/freezed

## Changelog
# 0.11.0

- Added `@With` and `@Implements` decorators to allow only a specific constructor
  of a union type to implement an interface:

  ```dart
  @freezed
  abstract class Example with _$Example {
    const factory Example.person(String name, int age) = Person;

    @Implements(GeographicArea)
    const factory Example.city(String name, int population) = City;
  }
  ```

  Thanks to @long1eu~

# 0.7.1

Minor change to `@Default` to fix an issue with complex default values.

# 0.7.0

Add `@Default` annotation

# 0.6.0

Added `@late` annotation.

# 0.4.0

Added a `@nullable` annotation.

# 0.3.1

Change version of `collection` to work with `flutter_test`.

# 0.3.0

Initial release of the annotation package.







 
