We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lints
1 parent d382d61 commit fa636c8Copy full SHA for fa636c8
lib/src/configuration.dart
@@ -75,7 +75,7 @@ class Configuration {
75
}
76
77
/// Load configuration from environment variables
78
- static fromEnv({String prefix = ""}) {
+ static Configuration fromEnv({String prefix = ""}) {
79
final accessToken = Platform.environment["${prefix}ACCESS_TOKEN"];
80
return Configuration(
81
accessToken: accessToken,
pubspec.yaml
@@ -17,5 +17,5 @@ dependencies:
17
http: '>=0.13.0 <2.0.0'
18
19
dev_dependencies:
20
- lints: ^5.1.1
+ lints: ^6.0.0
21
test: ^1.25.1
0 commit comments