GatewayRequestMessage.fromJson constructor

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

Implementation

GatewayRequestMessage.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  jsonrpc = json['jsonrpc'];
  method = json['method'];
  params = json['params'] != null
      ? GatewayRequestStateParams.fromJson(json['params'])
      : null;
}