copyWith method
MacroInstance
copyWith({
- String? name,
- String? body,
- Map<
String, dynamic> ? parameters, - GenericLinks? links,
Implementation
MacroInstance copyWith(
{String? name,
String? body,
Map<String, dynamic>? parameters,
GenericLinks? links}) {
return MacroInstance(
name: name ?? this.name,
body: body ?? this.body,
parameters: parameters ?? this.parameters,
links: links ?? this.links,
);
}