GatewayStateMessage.fromJson constructor

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

Implementation

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