menu
luckdraw package
documentation
testing.dart
SequenceRandom
nextBool method
nextBool method
dark_mode
light_mode
nextBool
method
@
override
bool
nextBool
(
)
override
消耗一个小数,小于一半时返回 true。
Implementation
@override bool nextBool() => nextDouble() < 0.5;
luckdraw package
documentation
testing
SequenceRandom
nextBool method
SequenceRandom class