JsonValueArray.fromJson constructor

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

Parses a JsonValueArray from TDLib JSON.

Implementation

factory JsonValueArray.fromJson(Map<String, dynamic> json) => JsonValueArray(
      values: _readList<JsonValue>(
          json['values'], (e) => _readObject(e, JsonValue.fromJson)),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );