set showing as dialog with search
This commit is contained in:
17
lib/celement.dart
Normal file
17
lib/celement.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
class CElement {
|
||||
String name;
|
||||
String flag;
|
||||
String code;
|
||||
String dial_code;
|
||||
|
||||
CElement({this.name, this.flag, this.code, this.dial_code});
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return "$flag $dial_code";
|
||||
}
|
||||
|
||||
String toLongString() {
|
||||
return "$flag $dial_code $name";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user