BorshOptionDecoder<T> constructor

const BorshOptionDecoder<T>(
  1. BorshCodec<T> subtype,
  2. BorshOptionType? type
)

Creates a decoder for optional values.

Implementation

const BorshOptionDecoder(super.subtype, super.type);