Update method

Future<Task?> Update(
  1. ConflictResolutionMode conflictResolutionMode, [
  2. bool suppressReadReceipts = false
])
override
Applies the local changes that have been made to this task. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added or removed. Specifies how conflicts should be resolved.

Implementation

Future<Task?> Update(ConflictResolutionMode conflictResolutionMode,
    [bool suppressReadReceipts = false]) async {
  Item? item = await this.InternalUpdate(null /* parentFolder */,
      conflictResolutionMode, MessageDisposition.SaveOnly, null);
  return item as Task?;
}