Skip to main content

encode method

*[<Null safety>](https://dart.dev/null-safety)*

Future<EncodedContent> encode (DecodedContent decoded)

override

This is called to encode the content

Implementation

@override
Future<xmtp.EncodedContent> encode(DecodedContent decoded) =>
_codecs.encode(decoded);