-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Used pull request to migrate because original package author no responding.
- Loading branch information
1 parent
2033106
commit e7dce05
Showing
4 changed files
with
19 additions
and
13 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
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,5 @@ | ||
/// Interface for Network Manager | ||
abstract class INetworkManager { | ||
/// Future that returns true if there is internet connection | ||
Future<bool> get isConnected; | ||
} |
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,18 +1,19 @@ | ||
name: network_manager | ||
description: Dart package which manages data connection. | ||
version: 1.0.0 | ||
version: 2.0.0 | ||
# homepage: https://www.example.com | ||
|
||
environment: | ||
sdk: ">=2.10.0 <3.0.0" | ||
sdk: ">=2.12.0 <3.0.0" | ||
|
||
dependencies: | ||
data_connection_checker: ^0.3.4 | ||
data_connection_checker: | ||
git: | ||
url: git://github.com/uSlashVlad/data_connection_checker.git | ||
equatable: ^2.0.0 | ||
meta: ^1.1.8 | ||
path: ^1.7.0 | ||
meta: ^1.3.0 | ||
path: ^1.8.0 | ||
|
||
dev_dependencies: | ||
mockito: ^5.0.3 | ||
test: ^1.14.4 | ||
mocktail: ^0.1.1 | ||
test: ^1.16.8 | ||
very_good_analysis: ^2.0.0 |
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