yesno method
Implementation
void yesno(VoidCallback? yesCallback, VoidCallback? noCallback) {
if (this) {
yesCallback?.call();
} else {
noCallback?.call();
}
}
void yesno(VoidCallback? yesCallback, VoidCallback? noCallback) {
if (this) {
yesCallback?.call();
} else {
noCallback?.call();
}
}