cities_auto_eager function

Future<Iterable<City>> cities_auto_eager()

Each city is parsed entirely during construction.

Implementation

Future<Iterable<City>> cities_auto_eager() async {
  return (await _cities_auto_untyped()).map(
    (final e) => parse_city_lazy(
      str: e,
    ),
  );
}