AdaptiveProgressDialogResult<T>.success constructor

AdaptiveProgressDialogResult<T>.success(
  1. T? data
)

A factory method that creates a AdaptiveProgressDialogResult object with the status set to success and the data property set to the provided value.

Implementation

factory AdaptiveProgressDialogResult.success(T? data) =>
    AdaptiveProgressDialogResult(status: DialogStatus.success, data: data);