DataProviderResult<T>.notFound constructor

DataProviderResult<T>.notFound({
  1. List<String> cacheTags = const [],
})

Missing record result (HTTP 404 Not Found).

Implementation

factory DataProviderResult.notFound({List<String> cacheTags = const []}) {
  return DataProviderResult(
    data: null,
    isFound: false,
    isDeleted: false,
    cacheTags: cacheTags,
  );
}