Venue class

Constructors

Venue({String venueId, String name, String location, String city, String state, String cc, String category, double rating})
Venue.fromJson(Map<String, dynamic> json)
factory

Properties

category String
final
cc String
final
city String
final
hashCode int
The hash code for this object.
read-only, override
location String
final
name String
final
rating double
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String
final
venueId String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic otherVenue) bool
The equality operator.
override

Static Methods

current(API api, double latitude, double longitude) Future<Venue>
get(API api, String venueId) Future<Venue>
liked(API api, {dynamic userId = 'self'}) Future<List<Venue>>
recommendations(API api, double latitude, double longitude, [String parameters = '']) Future<List<Venue>>
saved(API api, {dynamic userId = 'self'}) Future<List<Venue>>