isValid property

bool isValid

Indicates if this instance is considered valid, having one or more attributes defined

Implementation

bool get isValid => (id != null ||
    (iso2 != null && iso2!.isNotEmpty) ||
    (iso3 != null && iso3!.isNotEmpty));