all property

List<Country> get all

Will get all countries details

Implementation

List<Country> get all => List.from(countries.map((e) => Country.fromJson(e)));