File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
cupertino_http/example/lib Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class _HomePageState extends State<HomePage> {
53
53
54
54
// Get the list of books matching `query`.
55
55
// The `get` call will automatically use the `client` configurated in `main`.
56
- Future <List <Book >> _getBooks (String query) async {
56
+ Future <List <Book >> _findMatchingBooks (String query) async {
57
57
final response = await get (
58
58
Uri .https (
59
59
'www.googleapis.com' ,
@@ -74,7 +74,7 @@ class _HomePageState extends State<HomePage> {
74
74
return ;
75
75
}
76
76
77
- final books = await _getBooks (query);
77
+ final books = await _findMatchingBooks (query);
78
78
setState (() {
79
79
_books = books;
80
80
});
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class _HomePageState extends State<HomePage> {
54
54
55
55
// Get the list of books matching `query`.
56
56
// The `get` call will automatically use the `client` configurated in `main`.
57
- Future <List <Book >> _getBooks (String query) async {
57
+ Future <List <Book >> _findMatchingBooks (String query) async {
58
58
final response = await get (
59
59
Uri .https (
60
60
'www.googleapis.com' ,
@@ -75,7 +75,7 @@ class _HomePageState extends State<HomePage> {
75
75
return ;
76
76
}
77
77
78
- final books = await _getBooks (query);
78
+ final books = await _findMatchingBooks (query);
79
79
setState (() {
80
80
_books = books;
81
81
});
You can’t perform that action at this time.
0 commit comments