AttachmentUpdate class
Constructors
- AttachmentUpdate({required AttachmentUpdateVersion version, required String id, required AttachmentUpdateType type, String? title, AttachmentUpdateMetadata? metadata, AttachmentUpdateContainer? container})
-
AttachmentUpdate.fromJson(Map<
String, Object?> json) -
factory
Properties
- container → AttachmentUpdateContainer?
-
The new content to attach the attachment to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the attachment to be updated.
final
- metadata → AttachmentUpdateMetadata?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
The updated name of the attachment.
final
- type → AttachmentUpdateType
-
Set this to
attachment
.final - version → AttachmentUpdateVersion
-
The attachment version. Set this to the current version number of the
attachment. Note, the version number only needs to be incremented when
updating the actual attachment, not its properties.
final
Methods
-
copyWith(
{AttachmentUpdateVersion? version, String? id, AttachmentUpdateType? type, String? title, AttachmentUpdateMetadata? metadata, AttachmentUpdateContainer? container}) → AttachmentUpdate -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited