failure<T> static method

ProgressDialogResult<T> failure<T>(
  1. Object error, [
  2. StackTrace? stackTrace
])

Creates a failure result with the given error and optional stack trace

Implementation

static ProgressDialogResult<T> failure<T>(Object error, [StackTrace? stackTrace]) => Failure(error, stackTrace);