call method
creates and executes a request to the kraken api. Returns the api call result.
Implementation
Future<String> call(Methods method, {Map<String, String>? parameters}) {
if (method._private) {
String nonce = _generateNonce();
return callPrivate(method.toString(), nonce, parameters: parameters);
}
return callPublic(method.toString(), parameters: parameters);
}