approveRequest<T> method
Implementation
approveRequest<T>({
required int id,
required T result,
}) {
final response = JsonRpcResponse<T>(
id: id,
result: result,
);
_encryptAndSend(jsonEncode(response.toJson()));
}
approveRequest<T>({
required int id,
required T result,
}) {
final response = JsonRpcResponse<T>(
id: id,
result: result,
);
_encryptAndSend(jsonEncode(response.toJson()));
}