EvidenceList.deserialize constructor

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

Implementation

factory EvidenceList.deserialize(List<int> bytes) {
  final decode = CosmosProtocolBuffer.decode(bytes);
  return EvidenceList(
      evidence:
          decode.getFields(1).map((e) => Evidence.deserialize(e)).toList());
}