copyWith method

LinuxServerCapabilities copyWith({
  1. Set<String>? otherCapabilities,
  2. bool? body,
  3. bool? bodyHyperlinks,
  4. bool? bodyImages,
  5. bool? bodyMarkup,
  6. bool? iconMulti,
  7. bool? iconStatic,
  8. bool? persistence,
  9. bool? sound,
  10. bool? actions,
  11. bool? actionIcons,
})

Creates a copy of this object, but with the given fields replaced with the new values.

Implementation

LinuxServerCapabilities copyWith({
  Set<String>? otherCapabilities,
  bool? body,
  bool? bodyHyperlinks,
  bool? bodyImages,
  bool? bodyMarkup,
  bool? iconMulti,
  bool? iconStatic,
  bool? persistence,
  bool? sound,
  bool? actions,
  bool? actionIcons,
}) =>
    LinuxServerCapabilities(
      otherCapabilities: otherCapabilities ?? this.otherCapabilities,
      body: body ?? this.body,
      bodyHyperlinks: bodyHyperlinks ?? this.bodyHyperlinks,
      bodyImages: bodyImages ?? this.bodyImages,
      bodyMarkup: bodyMarkup ?? this.bodyMarkup,
      iconMulti: iconMulti ?? this.iconMulti,
      iconStatic: iconStatic ?? this.iconStatic,
      persistence: persistence ?? this.persistence,
      sound: sound ?? this.sound,
      actions: actions ?? this.actions,
      actionIcons: actionIcons ?? this.actionIcons,
    );