fromJson static method

InlineQuery fromJson(
  1. Map<String, dynamic> 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']!,
    location: Location.fromJson(json['location']),
  );
}