copyWith method

ZipArchiveInput copyWith({
  1. ItemInput? item,
  2. Option<ZipOptions>? options,
})

Returns a new instance by overriding the values passed as arguments

Implementation

ZipArchiveInput copyWith({
  ItemInput? item,
  Option<ZipOptions>? options,
}) =>
    ZipArchiveInput(
        item: item ?? this.item,
        options: options != null ? options.value : this.options);