DataProviderResult<T>.gone constructor

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

Permanently removed record result (HTTP 410 Gone).

Implementation

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