copyWith method

UIMarkerInfo copyWith({
  1. DgisObjectId? objectId,
  2. Optional<String?>? label,
})

Implementation

UIMarkerInfo copyWith({
  DgisObjectId? objectId,
  Optional<String?>? label
}) {
  return UIMarkerInfo(
    objectId: objectId ?? this.objectId,
    label: label != null ? label.value : this.label
  );
}