CallId.fromJson constructor

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

Parses a CallId from TDLib JSON.

Implementation

factory CallId.fromJson(Map<String, dynamic> json) => CallId(
      id: _readInt(json['id']),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );