GeoProperty class

Defines a geo position

Inheritance

Constructors

GeoProperty(String definition)
Creates a new GeoProperty
GeoProperty.value(GeoLocation location)
Creates a new GeoProperty based on the given location

Properties

definition String
Full property content, e.g. DTSTAMP;TZID=America/New_York:19970610T172345Z
finalinherited
hashCode int
The hash code for this object.
no setterinherited
location GeoLocation
Retrieves the geo location
no setter
name String
Name of the property, e.g. DTSTAMP
finalinherited
parameters Map<String, Parameter>
Additional parameters for this property, e.g. `{'TZID' : TextValueType('America/New_York')}}
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textValue String
Value of the property, e.g. 19970610T172345Z
finalinherited
value ↔ dynamic
The value of this property
getter/setter pairinherited

Methods

copy() Property
Creates a copy of this property
inherited
getParameterValue<T>(ParameterType type) → T?
Retrieves the parameter value for type
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String content) GeoLocation
Pareses the given textual representation
override
render(StringBuffer buffer) → void
Renders this parameter into the given buffer without folding / wrapping lines and without CRLF at the end.
inherited
setOrRemoveParameter(ParameterType type, Parameter? value) → void
Sets the parameter when value is not null and removes the parameter when value is null.
inherited
setParameter(Parameter value) → void
Sets the parameter value
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](ParameterType type) Parameter?
Retrieves the parameter with the given type
inherited
operator []=(ParameterType type, Parameter value) → void
Sets the parameter value for the given type
inherited

Static Methods

create(GeoLocation? value) GeoProperty?
Creates a new GeoProperty

Constants

propertyName → const String
GEO