MessageDecoder<T extends Message> typedef

MessageDecoder<T extends Message> = T Function(List<int> data)

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);