ReceivedResult.fromJson constructor
Implementation
ReceivedResult.fromJson(Map<String, dynamic> json) {
jsonrpc = json['jsonrpc'];
id = json['id'];
resultParams =
json['result'] != null ? ResultParams.fromJson(json['result']) : null;
sessId = json['sessid'];
error = json['error'] != null
? TelnyxSocketError.fromJson(json['error'])
: null;
}