fromJson static method

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

Creates a object from a json

Implementation

static WebAppData fromJson(Map<String, dynamic> json) {
  return WebAppData(
    json['data'],
    json['button_text'],
  );
}