AttachmentAction class abstract

Abstract class describing an Attachment Action

Implementers

Constructors

AttachmentAction(Attachment attachment, AttachmentActionType type)
Creates a new Action of a specific type for an attachment

Properties

attachment Attachment
Attachment this action is performed on
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AttachmentActionType
AttachmentActionType of this action
final

Methods

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

Operators

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

Static Methods

fromJson(dynamic json) AttachmentAction
Create a specific AttachmentAction from a json file