# BigInteger constructor

BigInteger(

1. String value, [
2. int radix = 10

])

Creates a BigInteger from a string representation.

`value` the string representation `radix` the radix to use for parsing (default is 10)

A wrapper class for arbitrary precision integers.

This class wraps Dart's BigInt and provides Java-like functionality similar to Java's BigInteger class.

Example usage:

    BigInteger a = BigInteger("123456789012345678901234567890");
    BigInteger b = BigInteger.fromInt(42);
    BigInteger sum = a + b;

    print(sum.toString()); // Very large number
    print(a.isProbablePrime()); // Primality test

## Implementation

    factory BigInteger(String value, [int radix = 10]) {
      return BigInteger._(BigInt.parse(value, radix: radix));
    }