copyWith method

TagType copyWith({
  1. TagKind? kind,
  2. FunctionType? functionType,
})

Returns a new instance by overriding the values passed as arguments

Implementation

TagType copyWith({
  TagKind? kind,
  FunctionType? functionType,
}) =>
    TagType(
        kind: kind ?? this.kind,
        functionType: functionType ?? this.functionType);