TestString.fromJson constructor

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

Parses a TestString from TDLib JSON.

Implementation

factory TestString.fromJson(Map<String, dynamic> json) => TestString(
      value: _readString(json['value']),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );