PrismViewError<T> constructor

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

Creates an error state.

Implementation

const PrismViewError([this.error, this.stackTrace]);