toJson method
Creates a json from the object
Implementation
Map toJson() {
return {
'result_id': resultId,
'from': from,
'query': query,
'location': location,
'inline_message_id': inlineMessageId,
}..removeWhere((_, v) => v == null);
}