BaatoSearchPlace class
Represents a search result place from the Baato API
Contains details about a place including its ID, name, address, and other attributes
Constructors
- BaatoSearchPlace(int placeId, int baatoId, String name, String address, double score, String type, double radialDistanceInKm)
- Creates a new BaatoSearchPlace instance
- BaatoSearchPlace.fromJson(dynamic json)
-
Creates a BaatoSearchPlace from JSON data
factory
Properties
- address → String
-
The formatted address of the place
final
- baatoId → int
-
The Baato-specific identifier for the place
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the place
final
- placeId → int
-
The unique identifier for the place
final
- radialDistanceInKm → double
-
The distance from the search center in kilometers
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → double
-
The relevance score of the search result
final
- type → String
-
The type or category of the place
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited