toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'results': results?.map((x) => x.toMap()).toList(),
'offset': offset,
'searchInfo': searchInfo?.toMap(),
'success': success,
'rawResponse': rawResponse,
};
}