Skip to content

Commit 72d25e8

Browse files
authored
feat!(luthor_generator): Add support for Freezed 3.0 (#106)
1 parent 676159d commit 72d25e8

File tree

12 files changed

+720
-596
lines changed

12 files changed

+720
-596
lines changed

packages/luthor/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ dependencies:
1313
meta: any
1414

1515
dev_dependencies:
16-
lint: ^2.3.0
17-
test: ^1.25.1
16+
lint: ^2.8.0
17+
test: ^1.25.15

packages/luthor_generator/example/lib/another_sample.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ part 'another_sample.g.dart';
88

99
@luthor
1010
@freezed
11-
class AnotherSample with _$AnotherSample {
11+
abstract class AnotherSample with _$AnotherSample {
1212
const factory AnotherSample({
1313
required int id,
1414
@JsonKey(name: 'full_name') String? name,

0 commit comments

Comments
 (0)