copyWith method
ComponentLink
copyWith({
- String? id,
- ComponentRole? role,
- int? version,
- List<
ComponentSetting> ? settings, - ManagedComponentRef? managed,
Implementation
ComponentLink copyWith({
String? id,
ComponentRole? role,
int? version,
List<ComponentSetting>? settings,
ManagedComponentRef? managed,
}) => ComponentLink(
id: id ?? this.id,
role: role ?? this.role,
version: version ?? this.version,
settings: settings ?? this.settings,
managed: managed ?? this.managed,
);