AttachmentProperty class

Inheritance

Constructors

AttachmentProperty(String content)

Properties

binary Binary?
Retrieves the binary data information
no setter
definition String
Full property content, e.g. DTSTAMP;TZID=America/New_York:19970610T172345Z
finalinherited
encoding String?
Retrieves the encoding such as BASE64, only relevant when the content is binary
getter/setter pair
filename String?
Retrieves the mime type / media type / format type like image/png as specified in the FMTTYPE parameter.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isBinary bool
Checks if this contains binary data
no setter
mediaType String?
Retrieves the mime type / media type / format type like image/png as specified in the FMTTYPE parameter.
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
textValue String
Value of the property, e.g. 19970610T172345Z
finalinherited
uri Uri?
Retrieves the URI of the data such as https://domain.com/assets/image.png
no setter
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

Constants

propertyName → const String
ATTACH