Text.fromJson constructor

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

Parse from a json

Implementation

factory Text.fromJson(Map<String, dynamic> json) => Text(
      text: json['text'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );