MessageWebAppDataReceived.fromJson constructor

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

Parse from a json

Implementation

factory MessageWebAppDataReceived.fromJson(Map<String, dynamic> json) =>
    MessageWebAppDataReceived(
      buttonText: json['button_text'],
      data: json['data'],
    );