Skip to content

Commit

Permalink
chore: upgrade example to Dart >=3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Oct 11, 2024
1 parent ed646e5 commit ecfe98d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions example/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ class Credentials extends Equatable {

class EquatableDateTime extends DateTime with EquatableMixin {
EquatableDateTime(
int year, [
int month = 1,
int day = 1,
int hour = 0,
int minute = 0,
int second = 0,
int millisecond = 0,
int microsecond = 0,
]) : super(year, month, day, hour, minute, second, millisecond, microsecond);
super.year, [
super.month,
super.day,
super.hour,
super.minute,
super.second,
super.millisecond,
super.microsecond,
]);

@override
List<Object> get props {
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: example

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=3.5.0 <4.0.0"

dependencies:
equatable:
Expand Down

0 comments on commit ecfe98d

Please sign in to comment.