copyWith method

SetOption copyWith({
  1. String? name,
  2. OptionValue? value,
})

Implementation

SetOption copyWith({
  String? name,
  OptionValue? value,
}) => SetOption(
  name: name ?? this.name,
  value: value ?? this.value,
);