encode abstract method

Future<EncodedContent> encode(
  1. T decoded
)

This is called to encode the content

Implementation

Future<xmtp.EncodedContent> encode(T decoded);