copyWith method

Term copyWith({
  1. int? offset,
  2. String? value,
})

Implementation

Term copyWith({int? offset, String? value}) {
  return Term(offset: offset ?? this.offset, value: value ?? this.value);
}