VTimezone class

Inheritance

Constructors

VTimezone({VComponent? parent})

Properties

canReply bool
Checks if this component can reply in its current state
no setterinherited
children List<VComponent>
The children of this component, empty when there a no children
finalinherited
componentType VComponentType
The type of the component, convenient for switch cases
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isVersion2 bool
Checks if this version is 2.0, which is assumed to be true unless a different version is specified.
no setterinherited
lastModified DateTime?
The date of the last modification / update of this timezone.
getter/setter pair
location String?
Retrieves the location from the proprietary X-LIC-LOCATION property, if defined
getter/setter pair
name String
The name of the component like VEVENT or VCALENDAR
finalinherited
parent VComponent?
The parent component, if any
finalinherited
productId String?
Retrieves the product identifier that generated this iCalendar object
getter/setter pairinherited
properties List<Property>
The properties of the component
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timezoneId String
Retrieves the ID such as America/New_York or Europe/Berlin
getter/setter pair
url Uri?
Retrieves the optional URL for more information
getter/setter pair
version String?
Gets the version of this calendar, typically 2.0
getter/setter pairinherited

Methods

checkMandatoryProperty(String name) → void
Checks if the property with the given name is present.
inherited
checkValidity() → void
Classes can implement this to check the validity.
override
copy() VComponent
Copies this component
inherited
findProperties(String propertyName) Iterable<Property>
Retrieves all properties with the name propertyName
inherited
getProperties<T extends Property>(String propertyName) Iterable<T>
Retrieves all matching properties with the name propertyName.
inherited
getProperty<T extends Property>(String propertyName) → T?
Retrieves the property with the propertyName
inherited
instantiate({VComponent? parent}) VComponent
Creates a new instance of this component
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeProperty(String propertyName) → void
Removes all properties with the specified propertyName
inherited
render(StringBuffer buffer) → void
inherited
reply(AttendeeProperty attendee, {VComponent? parent, String? comment}) VComponent
Creates a reply for this component.
inherited
setOrRemoveProperties(String propertyName, List<Property>? props) → void
Sets or removes the given props with the given propertyName
inherited
setOrRemoveProperty(String propertyName, Property? property) → void
Sets the given property when it is not null and otherwise removes the property with the given propertyName.
inherited
setProperties(String propertyName, List<Property> props) → void
Sets the given props by first removing any properties with the given propertyName.
inherited
setProperty(Property property) → void
Sets the property property, replacing other properties with the property.name first.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String propertyName) Property?
Retrieves the first property with the name propertyName
inherited
operator []=(String propertyName, Property property) → void
Sets the property property, replacing other properties with the given propertyName first.
inherited

Constants

componentName → const String