Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions packages/_internal/lib/models.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,24 +64,6 @@ class ConstructorDetails with _$ConstructorDetails {
String get callbackName => constructorNameToCallbackName(name);
}

@freezed
class MapConfig with _$MapConfig {
factory MapConfig({
required bool map,
required bool mapOrNull,
required bool maybeMap,
}) = _MapConfig;
}

@freezed
class WhenConfig with _$WhenConfig {
factory WhenConfig({
required bool when,
required bool whenOrNull,
required bool maybeWhen,
}) = _WhenConfig;
}

@freezed
class Data with _$Data {
@Assert('constructors.isNotEmpty')
Expand All @@ -91,8 +73,6 @@ class Data with _$Data {
required bool generateCopyWith,
required bool generateEqual,
required bool generateToString,
required MapConfig map,
required WhenConfig when,
required bool generateFromJson,
required bool generateToJson,
required bool makeCollectionsImmutable,
Expand Down
Loading