TypedBytes typedef
Allows to carry information about the type of bytes. This is useful when decoding is required and the type of bytes is necessary to know how to decode them.
Implementation
typedef TypedBytes = ({Uint8List bytes, ResourceType type});