Nat constructor

Nat([
  1. BigInt? _v
])

Implementation

Nat([this._v]) {
    if (_v != null) {
        if (_v! < BigInt.from(0)) {
            throw Exception('CandidType: Nat can only hold a value >=0 ');
        }

    }
}