Attribution.withAllValues constructor

Attribution.withAllValues(
  1. String id,
  2. ItemId sourceId,
  3. String displayName,
  4. bool isWritable,
  5. bool isQuickContact,
  6. bool isHidden,
  7. FolderId? folderId,
)
Creates an instance with all values Attribution id Source Id Display name Whether writable Wther quick contact Whether hidden Folder id

Implementation

Attribution.withAllValues(
    String id,
    ItemId sourceId,
    String displayName,
    bool isWritable,
    bool isQuickContact,
    bool isHidden,
    complex.FolderId? folderId)
    : super() {
  EwsUtilities.ValidateParam(id, "id");
  EwsUtilities.ValidateParam(displayName, "displayName");

  this.Id = id;
  this.SourceId = sourceId;
  this.DisplayName = displayName;
  this.IsWritable = isWritable;
  this.IsQuickContact = isQuickContact;
  this.IsHidden = isHidden;
  this.FolderId = folderId;
}