JsonRpcRequest<T>.fromJson constructor
Implementation
factory JsonRpcRequest.fromJson(
Map<String, dynamic> json,
T Function(Object? json) fromJsonT,
) =>
JsonRpcRequest<T>(
id: json['id'] as int,
jsonrpc: json['jsonrpc'] as String,
method: json['method'] as String,
params: _$nullableGenericFromJson(json['params'], fromJsonT),
);