decoder abstract method
Returns a BytesReader implementation that will handle the deserialization
bytes
: The bytes to deserializefromEncodable
: An optional function to convert a json map into a object
Implementation
BytesReader decoder(Uint8List bytes,
{dynamic Function(Map<String, dynamic>)? fromEncodable});