confirm method

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

Implementation

bool confirm(
  String? message, {
  bool? defaultValue,
}) =>
    actor.confirm(
      prompt: message ?? 'Are you sure?',
      defaultValue: defaultValue,
    );