fromJson static method

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

Creates a object from a json

Implementation

static MenuButtonWebApp fromJson(Map<String, dynamic> json) {
  return MenuButtonWebApp(
    json['text'],
    json['web_app'],
  );
}