randomNumber property
int?
get
randomNumber
Implementation
int? get randomNumber {
return _randomNumber;
}
set
randomNumber
(dynamic randomNumber)
Implementation
set randomNumber(var randomNumber) {
if (randomNumber is Uint8List) {
randomNumber = (randomNumber).toInt();
} else if (randomNumber is! int) {
throw ArgumentError(
"RandomNumber expects int or Uint8List, got ${randomNumber.runtimeType}");
}
assert(randomNumber >= 0 && randomNumber <= 0xffff);
_randomNumber = randomNumber;
}