encoder property

Returns the encoder from S to T.

It may be stateful and should not be reused.

Implementation

@override
BorshStructEncoder get encoder => BorshStructEncoder(schema);