Cork.decode constructor

Cork.decode(
  1. Uint8List bytes
)

Implementation

factory Cork.decode(Uint8List bytes) {
  final message = proto.Cork.fromBuffer(bytes);
  return Cork.fromProto(message);
}