copyWith method

Claim copyWith({
  1. String? id,
  2. List<Object>? values,
})

Creates a copy of this claim with the given fields replaced with the new values.

Implementation

Claim copyWith({String? id, List<Object>? values}) {
  return Claim(path: path, id: id ?? this.id, values: values ?? this.values);
}