SearchResult.fromJson constructor
Implementation
SearchResult.fromJson(Map<String, dynamic> json) {
statusCode = json['statusCode'];
if (json['results'] != null) {
results = <Results>[];
json['results'].forEach((v) {
results!.add(Results.fromJson(v));
});
}
}