Nat8 constructor

Nat8([
  1. int? _v
])

Implementation

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