PromiseError<T> constructor

const PromiseError<T>(
  1. Object? error
)

Implementation

const factory PromiseError(final Object? error) = _$PromiseError<T>;