Attachment class

Annotations
  • @freezed

Constructors

Attachment({required int id, required String checksum, required String filename, required String name, required String mimetype})
const
factory
Attachment.fromJson(Map<String, dynamic> json)
factory

Properties

checksum String
no setterinherited
copyWith → $AttachmentCopyWith<Attachment>
no setterinherited
filename String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
mimetype String
no setterinherited
name String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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