OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library search_engine; | 5 library search_engine; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:convert' show JSON; | 8 import 'dart:convert' show JSON; |
9 import 'dart:io' show HttpStatus; | 9 import 'dart:io' show HttpStatus; |
10 import 'package:http/http.dart' as http_client; | 10 import 'package:http/http.dart' as http_client; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 /** | 42 /** |
43 * The link of the result. | 43 * The link of the result. |
44 */ | 44 */ |
45 final String link; | 45 final String link; |
46 | 46 |
47 /** | 47 /** |
48 * Create a new [SearchResult] from a title and a link. | 48 * Create a new [SearchResult] from a title and a link. |
49 */ | 49 */ |
50 SearchResult(this.title, this.link); | 50 SearchResult(this.title, this.link); |
51 } | 51 } |
OLD | NEW |