EventLocation class
Location information for calendar events
Constructors
- EventLocation.new({required String title, String? address, double? latitude, double? longitude, double? radius, String? notes})
-
const
- EventLocation.simple(String title)
-
Creates a simple location with just a title
const
- EventLocation.withCoordinates({required String title, required double latitude, required double longitude, String? address, double? radius, String? notes})
-
Creates a location with coordinates
const
Properties
- address → String?
-
Full address of the location
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → double?
-
Latitude coordinate
final
- longitude → double?
-
Longitude coordinate
final
- notes → String?
-
Additional notes about the location
final
- radius → double?
-
Radius in meters (for geofencing/proximity alerts)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
The display name/title of the location
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited