toJson method
Converts an InlineQueryResultContact object to a JSON map
Implementation
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'phone_number': phoneNumber,
'first_name': firstName,
'last_name': lastName,
'vcard': vcard,
'reply_markup': replyMarkup?.toJson(),
'input_message_content': inputMessageContent?.toJson(),
'thumbnail_url': thumbnailUrl,
'thumbnail_width': thumbnailWidth,
'thumbnail_height': thumbnailHeight,
'id': id,
}..removeWhere(_nullFilter);
}