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