PromiseError<T> constructor

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

Implementation

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