fromBool static method
Creates PaperState from boolean value
Implementation
static PaperState fromBool(bool isPaperOut) {
return isPaperOut ? PaperState.out : PaperState.present;
}
Creates PaperState from boolean value
static PaperState fromBool(bool isPaperOut) {
return isPaperOut ? PaperState.out : PaperState.present;
}