confirm method

bool confirm([
  1. String? message
])

Displays a modal OK/Cancel prompt to the user.

Other resources

Implementation

bool confirm([String? message]) native;