copy
fun Version.copy(major: Int = this.major, minor: Int = this.minor, patch: Int = this.patch, preRelease: String? = this.preRelease, buildMetadata: String? = this.buildMetadata): Version
Content copied to clipboard
Constructs a copy of the Version. The copied object's properties can be altered with the optional parameters.