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