ArgumentException.deserialize constructor

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

Implementation

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