VFreeBusy class

Provides information about free and busy times of a particular user

Inheritance

Constructors

VFreeBusy({VComponent? parent})

Properties

attendees List<AttendeeProperty>
Retrieves the attendees
getter/setter pair
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
comment String?
Retrieves the comment
getter/setter pair
componentType VComponentType
The type of the component, convenient for switch cases
finalinherited
contact UserProperty?
Retrieves the contact for details
getter/setter pair
end DateTime?
The end date (exclusive) of this event.
getter/setter pair
freeBusyProperties List<FreeBusyProperty>
Retrieves the list of free busy entries
getter/setter pair
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
name String
The name of the component like VEVENT or VCALENDAR
finalinherited
organizer OrganizerProperty?
Retrieves the organizer of this event / task / journal
getter/setter pair
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
requestStatus String?
Retrieves the request status, e.g. 4.1;Event conflict. Date-time is busy.
getter/setter pair
requestStatusIsSuccess bool
Checks if the request status is a success, this defaults to true when no REQUEST-STATUS is set.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start DateTime?
The start time (inclusive) of the free busy time.
getter/setter pair
timeStamp DateTime
Mandatory timestamp / DTSTAMP property
getter/setter pairinherited
uid String
Retrieves the UID identifying this calendar component
getter/setter pairinherited
url Uri?
Retrieves the URL for additional information
no setter
version String?
Gets the version of this calendar, typically 2.0
getter/setter pairinherited

Methods

addAttendee(AttendeeProperty attendee) → void
Adds the given attendee
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.
inherited
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
removeAttendee(AttendeeProperty attendee) bool
Removes the given attendee returning true when the attendee was found
removeAttendeeWithEmail(String email) AttendeeProperty?
Removes the attendee with the given email, returning it when it was found.
removeAttendeeWithUri(Uri uri) AttendeeProperty?
Removes the attendee with the given uri, returning it when it was found.
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