AdaptiveProgressDialogResult<T>.error constructor

AdaptiveProgressDialogResult<T>.error(
  1. dynamic error
)

A factory method that creates a AdaptiveProgressDialogResult object with the status set to error and the error object.

Implementation

factory AdaptiveProgressDialogResult.error(dynamic error) =>
    AdaptiveProgressDialogResult(status: DialogStatus.error, error: error);