copyWith method
Implementation
Role copyWith({
String? name,
TMetaData? metaData,
String? expertise,
List<Instruction>? instructions,
List<Tool>? tools,
}) => Role(
name: name ?? this.name,
metaData: metaData ?? this.metaData,
expertise: expertise ?? this.expertise,
instructions: instructions ?? this.instructions,
tools: tools ?? this.tools,
);