rollN method
Lazy iterable of rolling num
times. Results returned as stream.
Throws FormatException
Implementation
@nonVirtual
Stream<RollResult> rollN(int num) async* {
for (var i = 0; i < num; i++) {
yield roll();
}
}
Lazy iterable of rolling num
times. Results returned as stream.
Throws FormatException
@nonVirtual
Stream<RollResult> rollN(int num) async* {
for (var i = 0; i < num; i++) {
yield roll();
}
}