ProtoGoogleListValue.deserialize constructor

ProtoGoogleListValue.deserialize(
  1. List<int> bytes
)

Implementation

factory ProtoGoogleListValue.deserialize(List<int> bytes) {
  final decode = ProtoBufferDecoder.decode(
    bytes: bytes,
    messageConfig: protoConfigStatic(),
  );
  return ProtoGoogleListValue(
    values:
        decode
            .getListOrNull<List<int>>(1)
            ?.map((b) => ProtoGoogleValue.deserialize(b))
            .toList() ??
        [],
  );
}