getCountry static method

GrxCountry? getCountry(
  1. GrxCountryId? id
)

Implementation

static GrxCountry? getCountry(final GrxCountryId? id) => countries
    .map<GrxCountry?>((x) => x)
    .firstWhere((country) => country!.id == id, orElse: () => null);