QueryResult<T>.failed constructor
const
QueryResult<T>.failed (
- dynamic error, [
- StackTrace? stackTrace
creates the FailedResult
error
is the Error/Exception fails the action
stackTrace
indicates where the error
was thrown, it is optional
Implementation
const factory QueryResult.failed(dynamic error, [StackTrace? stackTrace]) =
_Failed;