copyWith method

VersionRestoreParams copyWith({
  1. int? versionNumber,
  2. String? message,
  3. bool? restoreTitle,
})

Implementation

VersionRestoreParams copyWith(
    {int? versionNumber, String? message, bool? restoreTitle}) {
  return VersionRestoreParams(
    versionNumber: versionNumber ?? this.versionNumber,
    message: message ?? this.message,
    restoreTitle: restoreTitle ?? this.restoreTitle,
  );
}