toJson method
Implementation
Map<String, dynamic> toJson() {
final data = <String, dynamic>{};
if (results != null) {
final v = results;
final arr0 = [];
v!.forEach((v) {
arr0.add(v!.toJson());
});
data['results'] = arr0;
}
return data;
}