copyWith method

ListParam<T> copyWith({
  1. List<T>? value,
  2. ListFormat? format,
})

Generate a new ListParam by copying fields.

Implementation

ListParam<T> copyWith({List<T>? value, ListFormat? format}) {
  return ListParam(value ?? this.value, format ?? this.format);
}