StateException.deserialize constructor

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

Implementation

factory StateException.deserialize({List<int>? bytes, CborObject? object}) {
  final values = CborTagSerializable.decodeTaggedValue(
    identifier: BlockchainUtilsSerializationIdentifier.stateException,
    cborBytes: bytes,
    cborObject: object,
  );
  return StateException._(
    values.rawValueAt(0),
    details: values.maybeRawMapAt<String, String?>(1),
  );
}