TextProperty class

Contains texts

Inheritance
Implementers

Constructors

TextProperty(String definition)

Properties

alternateRepresentation Uri?
Gets a link to an alternative representation
getter/setter pair
definition String
Full property content, e.g. DTSTAMP;TZID=America/New_York:19970610T172345Z
finalinherited
hashCode int
The hash code for this object.
no setterinherited
language String?
Retrieve the language
getter/setter pair
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
text String
no setter
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 textValue) → dynamic
Parses this property.
inherited
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(String name, String? value, {String? language, Uri? alternateRepresentation}) TextProperty?
parseText(String textValue) String

Constants

propertyNameComment → const String
COMMENT
propertyNameDescription → const String
DESCRIPTION
propertyNameLocation → const String
LOCATION
propertyNameProductIdentifier → const String
PRODID
propertyNameRelatedTo → const String
RELATED-TO
propertyNameResources → const String
RESOURCES
propertyNameSummary → const String
SUMMARY
propertyNameTimezoneId → const String
TZID
propertyNameTimezoneName → const String
TZNAME
propertyNameUid → const String
UID
propertyNameXCalendarName → const String
X-WR-CALNAME calendar name property
propertyNameXMicrosoftSkypeTeamsMeetingUrl → const String
X-MICROSOFT-SKYPETEAMSMEETINGURL meeting URL property
propertyNameXTimezoneLocation → const String
X-LIC-LOCATION, often the same as the TZID
propertyNameXWrTimezone → const String
X-WR-TIMEZONE