Skip to main content

contentType property

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

Annotations

override

This identifies the flavor of content this codec can handle. It advertises the ability to be responsible for the specifiedContentTypeId.authorityId/ContentTypeId.typeId.

Implementation

@override
xmtp.ContentTypeId get contentType =>
throw UnsupportedError("the registry, as a Codec, has no content type");