Attachment class
Attachment in document
Constructors
- Attachment({required int? id, required String? name, required String? mimeType, required String? url, required String? origUrl, required bool containsText})
-
const
- Attachment.fromXML(XmlElement element)
- Creates attachment from parsed XML.
Properties
- containsText → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int?
-
Attachment ID
final
- mimeType → String?
-
Mime type of attachment
final
- name → String?
-
Attachment name/title
final
- origUrl → String?
-
Original attachment URL
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String?
-
Edesky URL
final
Methods
-
copyWith(
{int? id, String? name, String? mimeType, String? url, String? origUrl, bool? containsText}) → Attachment - Creates a copy of this attachment but with the given fields replaced with the new values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override