copyWith method

PriceToShow copyWith({
  1. String? key,
  2. String? value,
})

Implementation

PriceToShow copyWith({  String? key,
  String? value,
}) => PriceToShow(  key: key ?? this.key,
  value: value ?? this.value,
);