copyWith method
Copies a DarwinVersion.
Implementation
DarwinVersion copyWith({
int? majorVersion,
int? minorVersion,
int? patchVersion,
}) {
return DarwinVersion(
majorVersion: majorVersion ?? this.majorVersion,
minorVersion: minorVersion ?? this.minorVersion,
patchVersion: patchVersion ?? this.patchVersion,
);
}