InlineKeyboardButtonTypeSwitchInline.fromJson constructor

InlineKeyboardButtonTypeSwitchInline.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory InlineKeyboardButtonTypeSwitchInline.fromJson(Map<String, dynamic> json) => InlineKeyboardButtonTypeSwitchInline(
  query: json['query'],
  inCurrentChat: json['in_current_chat'],
);