BorshOptionDecoder<T> constructor
const
BorshOptionDecoder<T> (
- BorshCodec<
T> subtype, - BorshOptionType? type
Creates a decoder for optional values.
Implementation
const BorshOptionDecoder(super.subtype, super.type);