Attachment constructor

Attachment({
  1. String? objectId,
  2. Attachment_AttachmentType? type,
})

Implementation

factory Attachment({
  $core.String? objectId,
  Attachment_AttachmentType? type,
}) {
  final $result = create();
  if (objectId != null) {
    $result.objectId = objectId;
  }
  if (type != null) {
    $result.type = type;
  }
  return $result;
}