copyWith method

ComponentLink copyWith({
  1. String? id,
  2. ComponentRole? role,
  3. int? version,
  4. List<ComponentSetting>? settings,
  5. 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,
);