message property

String get message

Returns a descriptive error message for each exception type.

Implementation

String get message {
  switch (this) {
    case ProgressDialogExceptionType.alreadyShown:
      return "ProgressDialog already shown";
    case ProgressDialogExceptionType.alreadyDismissed:
      return "ProgressDialog already dismissed";
  }
}