PongMessage.fromJson constructor

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

Implementation

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