allNames property

List<String> get allNames

Get all country names

Implementation

static List<String> get allNames =>
    Country.values.map((c) => c.name).toList();