AttachmentMetadata class

Metadata for an issue attachment.

Constructors

AttachmentMetadata({User? author, String? content, DateTime? created, String? filename, int? id, String? mimeType, Map<String, dynamic>? properties, String? self, int? size, String? thumbnail})
AttachmentMetadata.fromJson(Map<String, Object?> json)
factory

Properties

author User?
Details of the user who attached the file.
final
content String?
The URL of the attachment.
final
created DateTime?
The datetime the attachment was created.
final
filename String?
The name of the attachment file.
final
hashCode int
The hash code for this object.
no setterinherited
id int?
The ID of the attachment.
final
mimeType String?
The MIME type of the attachment.
final
properties Map<String, dynamic>?
Additional properties of the attachment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self String?
The URL of the attachment metadata details.
final
size int?
The size of the attachment.
final
thumbnail String?
The URL of a thumbnail representing the attachment.
final

Methods

copyWith({User? author, String? content, DateTime? created, String? filename, int? id, String? mimeType, Map<String, dynamic>? properties, String? self, int? size, String? thumbnail}) AttachmentMetadata
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