diff --git a/README.md b/README.md index 9a3f5b4..06b027f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Simple and powerful HTTP client for Flutter and Dart application. import 'dart:io'; import 'package:http/http.dart' as http; -import 'package:http/retry.dart' as httpRetry; +import 'package:http/retry.dart' as http_retry; import 'package:http_client_hoc081098/http_client_hoc081098.dart'; import 'user.dart'; @@ -24,7 +24,7 @@ void main() async { ), ); - final innerClient = httpRetry.RetryClient( + final innerClient = http_retry.RetryClient( http.Client(), retries: 3, when: (response) { diff --git a/example/lib/http_client_hoc081098_example.dart b/example/lib/http_client_hoc081098_example.dart index 0a071a8..84a12ba 100644 --- a/example/lib/http_client_hoc081098_example.dart +++ b/example/lib/http_client_hoc081098_example.dart @@ -1,7 +1,7 @@ import 'dart:io'; import 'package:http/http.dart' as http; -import 'package:http/retry.dart' as httpRetry; +import 'package:http/retry.dart' as http_retry; import 'package:http_client_hoc081098/http_client_hoc081098.dart'; import 'user.dart'; @@ -16,7 +16,7 @@ void main() async { ), ); - final innerClient = httpRetry.RetryClient( + final innerClient = http_retry.RetryClient( http.Client(), retries: 3, when: (response) {