search method

Future<Search> search({
  1. String? apiKey,
})

Implementation

Future<Search> search({String? apiKey}) async {
  return Search.fromJson(
    await _request(
      Uri.parse(
        '$_baseUrl/search${apiKey != null ? '?apikey=$apiKey' : ''}',
      ),
    ),
  );
}