CreateContractHostFunction constructor Null safety
- String _wasmId,
- {XdrUint256? salt,
- List<
ContractAuth> ? auth}
Implementation
CreateContractHostFunction(this._wasmId,
{XdrUint256? salt, List<ContractAuth>? auth})
: super(auth) {
if (salt != null) {
this._salt = salt;
} else {
this._salt = new XdrUint256(TweetNaCl.randombytes(32));
}
}