Space constructor

Space({
  1. int? id,
  2. required String key,
  3. required String name,
  4. Icon? icon,
  5. SpaceDescriptionValue? description,
  6. Content? homepage,
  7. required String type,
  8. SpaceMetadata? metadata,
  9. List<OperationCheckResult>? operations,
  10. List<SpacePermission>? permissions,
  11. required String status,
  12. SpaceSettings? settings,
  13. Theme? theme,
  14. LookAndFeel? lookAndFeel,
  15. SpaceHistory? history,
  16. required SpaceExpandable expandable,
  17. required GenericLinks links,
})

Implementation

Space(
    {this.id,
    required this.key,
    required this.name,
    this.icon,
    this.description,
    this.homepage,
    required this.type,
    this.metadata,
    List<OperationCheckResult>? operations,
    List<SpacePermission>? permissions,
    required this.status,
    this.settings,
    this.theme,
    this.lookAndFeel,
    this.history,
    required this.expandable,
    required this.links})
    : operations = operations ?? [],
      permissions = permissions ?? [];