MessageDecoder<T extends Message> typedef
A function that decodes a Protobuf messages serialized form.
The .fromBuffer
constructor is a type of MessageDecoder.
Implementation
typedef MessageDecoder<T extends Message> = T Function(List<int> data);