copyWith method

SpaceExpandable copyWith({
  1. String? settings,
  2. String? metadata,
  3. String? operations,
  4. String? lookAndFeel,
  5. String? permissions,
  6. String? icon,
  7. String? description,
  8. String? theme,
  9. String? history,
  10. String? homepage,
  11. String? identifiers,
})

Implementation

SpaceExpandable copyWith(
    {String? settings,
    String? metadata,
    String? operations,
    String? lookAndFeel,
    String? permissions,
    String? icon,
    String? description,
    String? theme,
    String? history,
    String? homepage,
    String? identifiers}) {
  return SpaceExpandable(
    settings: settings ?? this.settings,
    metadata: metadata ?? this.metadata,
    operations: operations ?? this.operations,
    lookAndFeel: lookAndFeel ?? this.lookAndFeel,
    permissions: permissions ?? this.permissions,
    icon: icon ?? this.icon,
    description: description ?? this.description,
    theme: theme ?? this.theme,
    history: history ?? this.history,
    homepage: homepage ?? this.homepage,
    identifiers: identifiers ?? this.identifiers,
  );
}