Venue class

This object represents a venue.

Constructors

Venue({required Location location, required String title, required String address, String? foursquareId, String? foursquareType, String? googlePlaceId, String? googlePlaceType})
Constructs a Venue object
const
Venue.fromJson(Map<String, dynamic> json)
Creates a Venue object from JSON object
factory

Properties

address String
Address of the venue
final
foursquareId String?
Optional. Foursquare identifier of the venue
final
foursquareType String?
Optional. Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
final
googlePlaceId String?
Optional. Google Places identifier of the venue
final
googlePlaceType String?
Optional. Google Places type of the venue. (See supported types.)
final
hashCode int
The hash code for this object.
no setterinherited
location Location
Venue location
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Name of the venue
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a Venue object to JSON object
toString() String
A string representation of this object.
inherited

Operators

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