toCondSigned method

BigInt toCondSigned(
  1. int width, {
  2. bool signed = false,
})

Convert a BigInt to Signed when signed is true

Implementation

BigInt toCondSigned(int width, {bool signed = false}) =>
    signed ? toSigned(width) : toUnsigned(width);