cryptoExchanges<JSCDATA extends JsonScheme> static method
void
cryptoExchanges<JSCDATA extends JsonScheme>({})
Implementation
static void cryptoExchanges<JSCDATA extends JsonScheme>({
required JSCDATA jsonSceheme,
required Set<String> keys,
required void Function(String key, dynamic defaultValue) changeValue,
bool isThrowOnError = false,
}) {
for (final String key in keys) {
Crypto.cryptoExchange(
defaultValue: jsonSceheme[key],
isThrowOnError: isThrowOnError,
changeValue: (defaultValue) {
changeValue(key, defaultValue);
},
);
}
return;
}