decode method Null safety

XdrHashIDPreimageContractAuth decode(
  1. XdrDataInputStream stream
)

Implementation

static XdrHashIDPreimageContractAuth decode(XdrDataInputStream stream) {
  XdrHash networkID = XdrHash.decode(stream);
  XdrUint64 nonce = XdrUint64.decode(stream);
  XdrAuthorizedInvocation invocation = XdrAuthorizedInvocation.decode(stream);
  return XdrHashIDPreimageContractAuth(networkID, nonce, invocation);
}