JSONRPCResponse.fromJson constructor

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

Implementation

factory JSONRPCResponse.fromJson(Map<String, dynamic> json) =>
    JSONRPCResponse(
      json['result'],
      json['error'],
      json['id'],
    );