Document class

Document on official notice board

Constructors

Document({required int? id, required String? name, required String? createdAt, required String? url, required String? origUrl, required String? textUrl, required int? dashboardId, required List<Attachment> attachments})
const
Document.fromXML(XmlElement element)
Creates document from parsed XML.

Properties

attachments List<Attachment>
List of Attachment
final
createdAt String?
Creation date and time (YYYY-MM-DD hh:mm:ss TZD, eg. 2019-03-17 15:56:45 +0100)
final
dashboardId int?
Dashboard ID
final
hashCode int
The hash code for this object.
no setteroverride
id int?
Document ID
final
name String?
Document name/title
final
origUrl String?
Original document URL
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textUrl String?
Plain text URL
final
url String?
Edesky URL (https://edesky.cz/dokument/....)
final

Methods

copyWith({int? id, String? name, String? createdAt, String? url, String? origUrl, String? textUrl, int? dashboardId, List<Attachment>? attachments}) Document
Creates a copy of this document 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