getMosquitoSpeciesById method

Future<MosquitoSpecies?> getMosquitoSpeciesById(
  1. String id,
  2. String languageCode
)

Retrieves a mosquito species by its unique identifier.

id The unique identifier of the mosquito species. languageCode The language code for localized content. Returns the mosquito species if found, null otherwise.

Implementation

Future<MosquitoSpecies?> getMosquitoSpeciesById(String id, String languageCode) async {
  return await _databaseService.getMosquitoSpeciesById(id, languageCode);
}