AsyncQueryResult<T>.failed constructor Null safety

const AsyncQueryResult<T>.failed(
  1. dynamic error,
  2. [StackTrace? stackTrace]
)

Creates the FailedResult, indicates the query is failed

Implementation

const factory AsyncQueryResult.failed(dynamic error,
    [StackTrace? stackTrace]) = _Failed;