TestVectorIntObject.fromJson constructor

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

Parses a TestVectorIntObject from TDLib JSON.

Implementation

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