Space constructor
Space({
- int? id,
- required String key,
- required String name,
- Icon? icon,
- SpaceDescriptionValue? description,
- Content? homepage,
- required String type,
- SpaceMetadata? metadata,
- List<
OperationCheckResult> ? operations, - List<
SpacePermission> ? permissions, - required String status,
- SpaceSettings? settings,
- Theme? theme,
- LookAndFeel? lookAndFeel,
- SpaceHistory? history,
- required SpaceExpandable expandable,
- 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 ?? [];