BusinessSearched class
Business Yelp found based on the search criteria.
Constructors
-
BusinessSearched({Categories? categories, Coordinates? coordinates, String? displayPhone, double? distance, String? id, String? alias, String? imageUrl, Location? location, String? name, String? phone, String? price, double? rating, int? reviewCount, String? url, List<
String> ? transactions}) - BusinessSearched.fromJson(String source)
-
factory
-
BusinessSearched.fromMap(Map<
String, dynamic> ? map) -
factory
Properties
- alias → String?
-
Unique Yelp alias of this business. Can contain unicode characters.
final
- categories → Categories?
-
List of category title and alias pairs associated with this business.
final
- coordinates → Coordinates?
-
Coordinates of this business.
final
- displayPhone → String?
-
Phone number of the business formatted nicely to be displayed to users.
final
- distance → double?
-
Distance in meters from the search location.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
Unique Yelp ID of this business.
final
- imageUrl → String?
-
URL of photo for this business.
final
- location → Location?
-
Location of this business, including address, city, state, zip code and country.
final
- name → String?
-
Name of this business.
final
- phone → String?
-
Phone number of the business.
final
- price → String?
-
Price level of the business, ie. $, $$, $$$ or $$$$.
final
- rating → double?
-
Rating for this business, ie. 1, 1.5, ... 4.5, 5.
final
- reviewCount → int?
-
Number of reviews for this business.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transactions
→ List<
String> ? -
List of Yelp transactions that the business is registered for. ie. pickup, delivery, or restaurant_reservation.
final
- url → String?
-
URL for business page on Yelp.
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.
override