BaatoPlaceResponse class
Response object for place search queries from the Baato API.
Constructors
-
BaatoPlaceResponse(String timestamp, int status, String message, [List<
BaatoPlace> ? data]) - Creates a new BaatoPlaceResponse instance.
- BaatoPlaceResponse.fromJson(dynamic json)
-
Creates a BaatoPlaceResponse from a JSON object.
factory
Properties
-
data
→ List<
BaatoPlace> ? -
List of places returned in the response.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Response message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
HTTP status code of the response.
final
- timestamp → String
-
Timestamp of when the response was generated.
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