decoder property

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

It may be stateful and should not be reused.

Implementation

@override
BorshRustEnumSizedDecoder<T> get decoder => BorshRustEnumSizedDecoder(variants);