copyWith method

Attribute copyWith({
  1. String? tag,
  2. String? value,
})

Implementation

Attribute copyWith({
  String? tag,
  String? value
}) {
  return Attribute(
    tag: tag ?? this.tag,
    value: value ?? this.value
  );
}