copyWith method

Tag copyWith({
  1. String? code,
  2. Uri? system,
})

Makes a copy of the Tag for non-destructive mutation.

Implementation

Tag copyWith({
  String? code,
  Uri? system,
}) =>
    Tag(
      code: code ?? this.code,
      system: system ?? this.system,
    );