Attachment class

Constructors

Attachment({dynamic usageType, Map<String, dynamic>? display, Map<String, dynamic>? description, String? contentType, int? length, String? sha2, dynamic fileUrl, AttachmentContent? content})
Examples: https://registry.tincanapi.com/#home/attachmentUsages

Properties

content AttachmentContent?
getter/setter pair
contentType String?
final
description Map<String, dynamic>?
final
display Map<String, dynamic>?
final
fileUrl → ValidatedUri?
final
hashCode int
The hash code for this object.
no setterinherited
length int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha2 String?
final
usageType → ValidatedUri?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([Version? version]) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic>? json, AttachmentContent? content) Attachment?
listFromJson(List? list) List<Attachment>?
sha2sum(List<int> data) String