features/art_crime/domain/repos/art_crime_repo library

Enums

ArtCrimeSortDirection
The direction to sort an art crime query in.
ArtCrimeSortOn
The field to sort an art crime query on.

Functions

fetchAllArtCrimes() Future<List<ArtCrime>>
Fetches all art crimes.
fetchArtCrime(String id) Future<ArtCrime>
Fetches an art crime with the given id.
fetchArtCrimes({int pageSize = 50, int page = 1, ArtCrimeSortOn sortOn = ArtCrimeSortOn.modified, ArtCrimeSortDirection sortDirection = ArtCrimeSortDirection.descending, String? title, String? crimeCategory, String? maker, String? referenceNumber}) Future<ArtCrimeResultSet>
Fetches art crimes with the given parameters.