Location class

Represents a location for a calendar event.

Each instance holds the availability resolution, display name, location email address, physical address, and geographical coordinates of the location.

Constructors

Location({bool? resolveAvailability, String? displayName, String? locationEmailAddress, Address? address, GeoCoordinates? coordinates})
Creates a new instance of Location.
Location.fromJson(Map<String, dynamic> json)
Creates a new instance of Location from a JSON object.
factory

Properties

address Address?
The physical address of the location.
final
coordinates GeoCoordinates?
The geographical coordinates of the location.
final
displayName String?
The display name of the location.
final
hashCode int
The hash code for this object.
no setterinherited
locationEmailAddress String?
The email address associated with the location.
final
resolveAvailability bool?
Indicates whether the availability of the location should be resolved.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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