decoder property
Returns the decoder of this
, converting from T
to S
.
It may be stateful and should not be reused.
Implementation
@override
BorshRustEnumDecoder<T> get decoder => BorshRustEnumDecoder(variants);
Returns the decoder of this
, converting from T
to S
.
It may be stateful and should not be reused.
@override
BorshRustEnumDecoder<T> get decoder => BorshRustEnumDecoder(variants);