Skip to content

Commit

Permalink
Do not get dependencies in example directory
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Nov 2, 2023
1 parent a47330c commit fed92c1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run:
working-directory: ./
container:
image: dart:beta
image: dart:stable
timeout-minutes: 10
steps:
- name: 🚂 Get latest code
Expand All @@ -58,7 +58,7 @@ jobs:
- name: 👷 Install Dependencies
timeout-minutes: 1
run: |
dart pub get
dart pub get --no-example
- name: 🔎 Check format
timeout-minutes: 1
Expand Down
27 changes: 9 additions & 18 deletions lib/src/subscription/subscription_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,9 @@ final class SpinifySubscriptionState$Unsubscribed
required this.code,
required this.reason,
DateTime? timestamp,
({fixnum.Int64 offset, String epoch})? since,
bool recoverable = false,
}) : super(
timestamp: timestamp ?? DateTime.now(),
since: since,
recoverable: recoverable);
super.since,
super.recoverable = false,
}) : super(timestamp: timestamp ?? DateTime.now());

@override
String get type => 'unsubscribed';
Expand Down Expand Up @@ -126,12 +123,9 @@ final class SpinifySubscriptionState$Subscribing
/// {@nodoc}
SpinifySubscriptionState$Subscribing({
DateTime? timestamp,
({fixnum.Int64 offset, String epoch})? since,
bool recoverable = false,
}) : super(
timestamp: timestamp ?? DateTime.now(),
since: since,
recoverable: recoverable);
super.since,
super.recoverable = false,
}) : super(timestamp: timestamp ?? DateTime.now());

@override
String get type => 'subscribing';
Expand Down Expand Up @@ -179,13 +173,10 @@ final class SpinifySubscriptionState$Subscribed
/// {@nodoc}
SpinifySubscriptionState$Subscribed({
DateTime? timestamp,
({fixnum.Int64 offset, String epoch})? since,
bool recoverable = false,
super.since,
super.recoverable = false,
this.ttl,
}) : super(
timestamp: timestamp ?? DateTime.now(),
since: since,
recoverable: recoverable);
}) : super(timestamp: timestamp ?? DateTime.now());

@override
String get type => 'subscribed';
Expand Down

0 comments on commit fed92c1

Please sign in to comment.