setApi method
Sets the active BlockchainUtilsApi implementation directly.
Implementation
void setApi(BlockchainUtilsApi api, {bool seal = false}) {
_checkNotSealed('setApi');
_api = api;
if (seal) {
this.seal();
}
}
Sets the active BlockchainUtilsApi implementation directly.
void setApi(BlockchainUtilsApi api, {bool seal = false}) {
_checkNotSealed('setApi');
_api = api;
if (seal) {
this.seal();
}
}