clone method
Clones this instance of Basemap and its members.
All objects referenced by the basemap, such as layers or portal item, are copied as well.
Return Value: A new Basemap with the same values as the current Basemap.
Implementation
Basemap clone() {
final objectHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_Basemap_clone(_handle, errorHandler);
});
return Basemap._fromHandle(objectHandle)!;
}