Saves this map back to the item it originated from.
The map must have a valid ArcGISMap.item property and if the operation was successful the item will be updated with the map. A map has a valid item property if it was created using either ArcGISMap.ArcGISMap(Item) or ArcGISMap.ArcGISMap(String), or has been previously saved as a new item.
a Result indicating whether the map was successfully saved. The result will be a failure with type:
IllegalStateException if this map's item property is null.
IllegalStateException if this map's item property is not a portal item.
A Boolean value indicating whether the map should be saved to the supported web map version that the API supports (see system requirements). This may cause data loss as unknown data is not saved. If true, unknown data will be removed and the map will be saved. If false, the asynchronous operation will fail if the map contains unknown data that will not be saved. This flag can be used to provide a warning to users that some map data may be lost when the map is saved.