copy method Null safety
Creates a copy of this version overriding the old values if new ones are provided.
Implementation
AppStoreVersionAttributes copy({
String? platform,
String? versionString,
String? appStoreState,
String? copyright,
AppStoreVersionReleaseType? releaseType,
DateTime? earliestReleaseDate,
bool? downloadable,
DateTime? createdDate,
}) {
return AppStoreVersionAttributes(
platform: platform ?? this.platform,
versionString: versionString ?? this.versionString,
appStoreState: appStoreState ?? this.appStoreState,
copyright: copyright ?? this.copyright,
releaseType: releaseType ?? this.releaseType,
earliestReleaseDate: earliestReleaseDate ?? this.earliestReleaseDate,
downloadable: downloadable ?? this.downloadable,
createdDate: createdDate ?? this.createdDate,
);
}