toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"inline_query_id": inlineQueryId,
"next_offset": nextOffset,
"results": results.map((i) => i.toJson()).toList(),
"switch_pm_text": switchPmText,
"switch_pm_parameter": switchPmParameter,
};
}