DataProviderResult<T>.found constructor
DataProviderResult<T>.found (})
Successful result containing typed data.
Implementation
factory DataProviderResult.found(
T data, {
DateTime? lastModified,
String? etag,
List<String> cacheTags = const [],
}) {
return DataProviderResult(
data: data,
lastModified: lastModified,
etag: etag,
isFound: true,
isDeleted: false,
cacheTags: cacheTags,
);
}