AddAttachmentAction class
Implementation of an AttachmentAction for AttachmentActionType.add
- Inheritance
-
- Object
- AttachmentAction
- AddAttachmentAction
Constructors
- AddAttachmentAction({Uint8List? byteData, String? path, required dynamic attachment})
-
Creates an Add Action to upload byteData for
attachment
Properties
- attachment → Attachment
-
Attachment this action is performed on
finalinherited
- byteData → Uint8List?
-
Data for new Attachment
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- path → String?
-
The Path to a File for this Attachment
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → AttachmentActionType
-
AttachmentActionType of this action
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes an AttachmentAction to json
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override