Freezed constructor
const
Freezed({
- String? unionKey,
- FreezedUnionCase? unionValueCase,
- String? fallbackUnion,
- bool? copyWith,
- bool? equal,
- bool? toStringOverride,
- bool? fromJson,
- bool? toJson,
- FreezedMapOptions? map,
- FreezedWhenOptions? when,
- bool? makeCollectionsUnmodifiable,
- bool addImplicitFinal = true,
- bool genericArgumentFactories = false,
Flags a class as needing to be processed by Freezed and allows passing options.
Implementation
const Freezed({
this.unionKey,
this.unionValueCase,
this.fallbackUnion,
this.copyWith,
this.equal,
this.toStringOverride,
this.fromJson,
this.toJson,
this.map,
this.when,
this.makeCollectionsUnmodifiable,
this.addImplicitFinal = true,
this.genericArgumentFactories = false,
});