findOne method

Future<MatexCountryMetadata?> findOne({
  1. required bool filter(
    1. MatexCountryMetadata
    ),
})

Finds one country metadata based on the provided filter function.

Implementation

Future<MatexCountryMetadata?> findOne({
  required bool Function(MatexCountryMetadata) filter,
}) async {
  return _countryProvider.findOne(filter: filter);
}