confirmSync method
Like confirm, but blocks and returns the answer.
Implementation
bool confirmSync(String? message, {bool defaultValue = false}) =>
_askSync(
'confirmSync',
() => promptConfirmSync('$message',
defaultValue: defaultValue, options: _options)) ??
defaultValue;