fromJson static method
Creates a object from a json
Implementation
static InlineQuery fromJson(Map<String, dynamic> json) {
return InlineQuery(
id: json['id']!,
from: User.fromJson(json['from']!),
query: json['query']!,
offset: json['offset']!,
chatType: json['chat_type'],
location: callIfNotNull(Location.fromJson, json['location']),
);
}