PongMessage.fromJson(Map<String, dynamic> json) { jsonrpc = json['jsonrpc']; id = json['id']; result = json['result'] != null ? Result.fromJson(json['result']) : null; }