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