toMap method
Converts the ResponseModel instance to a map.
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'entity': entity,
'error': error,
'has_more': hasMore,
'message': message,
'status': status,
};
}