isErrorDialog property

bool isErrorDialog
final

will display the dialog with the title and the error details if set to true else displays the message. By default it is set to true.

Implementation

final bool isErrorDialog;