copyWith method

FeatureMessage copyWith({
  1. String? name,
  2. RunnableDebugInformation? context,
  3. List<Tag>? tags,
  4. String? description,
})

Implementation

FeatureMessage copyWith({
  String? name,
  RunnableDebugInformation? context,
  List<Tag>? tags,
  String? description,
}) {
  return FeatureMessage(
    name: name ?? this.name,
    context: context ?? this.context,
    tags: tags ?? this.tags,
    description: description ?? this.description,
  );
}