Web3SecretStorageDefinationV3Exception.deserialize constructor

Web3SecretStorageDefinationV3Exception.deserialize({
  1. List<int>? bytes,
  2. CborObject<Object?>? object,
})

Implementation

factory Web3SecretStorageDefinationV3Exception.deserialize({
  List<int>? bytes,
  CborObject? object,
}) {
  final values = CborTagSerializable.decodeTaggedValue(
    identifier: BlockchainUtilsSerializationIdentifier.secretStorageError,
    cborBytes: bytes,
    cborObject: object,
  );
  return Web3SecretStorageDefinationV3Exception._(values.rawValueAt(0));
}