AttachmentDTO class

Constructors

AttachmentDTO({AttachmentLinkDTO? links, UserDTO? author, DateDTO? created, String? filename, String? mimeType, int? size})
AttachmentDTO.fromJson(Map<String, Object?> json)
factory

Properties

author UserDTO?
Details of the user who attached the file.
final
created DateDTO?
Date the attachment was added.
final
filename String?
Filename of the item attached.
final
hashCode int
The hash code for this object.
no setterinherited
Various URLs for the attachment.
final
mimeType String?
MIME type of the attachment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
Size of the attachment in bytes.
final

Methods

copyWith({AttachmentLinkDTO? links, UserDTO? author, DateDTO? created, String? filename, String? mimeType, int? size}) AttachmentDTO
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited