AttachmentMetadataModel class abstract

The file metadata holds the information about a file that may be a single document or a message attachment.

Properties:

Implemented types
Annotations

Constructors

AttachmentMetadataModel([void updates(AttachmentMetadataModelBuilder b)])
factory

Properties

datePublishing DateTime
Date in format according to RFC3339
no setter
encoding String?
The encoding used for the file
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
ID of the attachment
no setter
mimetype String
Mimetype of the file. Potential values are documented https://www.iana.org/assignments/media-types/media-types.xhtml
no setter
name String
name of the file
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
The size of the file in bytes.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(AttachmentMetadataModelBuilder)) AttachmentMetadataModel
Rebuilds the instance.
inherited
toBuilder() AttachmentMetadataModelBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer Serializer<AttachmentMetadataModel>
no setter