Files
CountryCodePicker/lib/celement.dart
2018-06-30 11:25:21 +02:00

22 lines
451 B
Dart

/// Country element. This is the element that contains all the information
class CElement {
/// the name of the country
String name;
/// the flag of the country
String flagUri;
/// the country code (IT,AF..)
String code;
/// the dial code (+39,+93..)
String dialCode;
CElement({this.name, this.flagUri, this.code, this.dialCode});
@override
String toString() => "$dialCode";
String toLongString() => "$dialCode $name";
}