Nat16 constructor

Nat16([
  1. int? _v
])

Implementation

Nat16([this._v]) {
    if (_v!=null) {
        if (_v! < 0 || _v! > pow(2, 16)-1 ) {
            throw Exception('CandidType: Nat16 value can be between 0<=value && value <= ${pow(2, 16)-1} ');
        }
    }
}