-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor code to remove @internal annotations and update imports
- Loading branch information
Showing
5 changed files
with
95 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
library spinify; | ||
|
||
export 'src/model/state.dart'; | ||
export 'src/spinify_impl.dart' show Spinify; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import 'package:meta/meta.dart'; | ||
|
||
/// Spinify client events. | ||
@internal | ||
abstract interface class ClientEvents { | ||
static const String prefix = 'client'; | ||
static const String init = '${prefix}_init'; | ||
static const String close = '${prefix}_close'; | ||
static const String connecting = '${prefix}_connecting'; | ||
static const String connected = '${prefix}_connected'; | ||
static const String disconnecting = '${prefix}_disconnecting'; | ||
static const String disconnected = '${prefix}_disconnected'; | ||
static const String stateChanged = '${prefix}_state_changed'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters