confirm abstract method

bool confirm(
  1. String message, {
  2. bool defaultValue = false,
})

Prompts user for yes/no confirmation with message.

Implementation

bool confirm(String message, {bool defaultValue = false});