add favorite country options

This commit is contained in:
Salvatore Giordano
2018-04-01 11:05:15 +02:00
parent 3ba8c12a19
commit 1394a9ceaf
6 changed files with 54 additions and 21 deletions

View File

@@ -2,16 +2,16 @@ class CElement {
String name;
String flag;
String code;
String dial_code;
String dialCode;
CElement({this.name, this.flag, this.code, this.dial_code});
CElement({this.name, this.flag, this.code, this.dialCode});
@override
String toString() {
return "$flag $dial_code";
return "$flag $dialCode";
}
String toLongString() {
return "$flag $dial_code $name";
return "$flag $dialCode $name";
}
}