decoder property

  1. @override
BorshOptionDecoder<T> get decoder
override

Returns the decoder of this, converting from T to S.

It may be stateful and should not be reused.

Implementation

@override
BorshOptionDecoder<T> get decoder => BorshOptionDecoder(subtype, type);