SavedToursModel class

Class that defines the SavedToursModel entity, which contains its properties and methods.

Constructors

SavedToursModel({required String query, required List<PlacesModel> places, String country = '', String city = '', required bool isGenerated})
SavedToursModel.fromJson(Map<String, dynamic> json)
Returns a SavedToursModel from the given json.
factory

Properties

city String
Property that defines the city.
getter/setter pair
country String
Property that defines the country.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isGenerated bool
Property that defines the isGenerated.
getter/setter pair
places List<PlacesModel>
Property that defines the places.
getter/setter pair
query String
Property that defines the query.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a Map from the current SavedToursModel.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited