CID.fromList constructor

CID.fromList(
  1. List<int> bytes
)

Returns the new instance of CID based on list bytes.

Implementation

factory CID.fromList(final List<int> bytes) =>
    CID(_ensureBytesFormat(Uint8List.fromList(bytes)));