copyWith method

ComponentLink copyWith({
  1. String? id,
  2. ComponentRole? role,
  3. int? version,
  4. List<ComponentSetting>? settings,
  5. Json? managedJson,
})

Implementation

ComponentLink copyWith({
  String? id,
  ComponentRole? role,
  int? version,
  List<ComponentSetting>? settings,
  Json? managedJson,
}) => ComponentLink(
  id: id ?? this.id,
  role: role ?? this.role,
  version: version ?? this.version,
  settings: settings ?? this.settings,
  managedJson: managedJson ?? this.managedJson,
);