import { TokenModel } from 'nativescript-ui-autocomplete' ; export class CityModel extends TokenModel { public id : number ; public city : string ; public country : string ; constructor ( id , city , country , image ) { super ( city + ", " + country , image ) ; this . id = id ; this . city = city ; this . country = country ; } toString ( ) { return this . id + ": " + this . city + ", " + this . country ; } }