copyWith method

SoftwareInfoDTO copyWith({
  1. SelfLinkDTO? links,
  2. String? buildChangeSet,
  3. DateDTO? buildDate,
  4. bool? isLicensedForUse,
  5. String? platformVersion,
  6. String? version,
})

Implementation

SoftwareInfoDTO copyWith(
    {SelfLinkDTO? links,
    String? buildChangeSet,
    DateDTO? buildDate,
    bool? isLicensedForUse,
    String? platformVersion,
    String? version}) {
  return SoftwareInfoDTO(
    links: links ?? this.links,
    buildChangeSet: buildChangeSet ?? this.buildChangeSet,
    buildDate: buildDate ?? this.buildDate,
    isLicensedForUse: isLicensedForUse ?? this.isLicensedForUse,
    platformVersion: platformVersion ?? this.platformVersion,
    version: version ?? this.version,
  );
}