factory StateModel.fromJson(Map<String, dynamic> json){ return StateModel( id: json['id'] as String, name: json['name'] as String, countryId: json['country_id'] as String ); }