ContentCreateSpace constructor

ContentCreateSpace({
  1. int? id,
  2. String? name,
  3. Icon? icon,
  4. GlobalSpaceIdentifier? identifiers,
  5. ContentCreateSpaceDescription? description,
  6. Content? homepage,
  7. String? type,
  8. ContentCreateSpaceMetadata? metadata,
  9. List<OperationCheckResult>? operations,
  10. List<SpacePermission>? permissions,
  11. String? status,
  12. SpaceSettings? settings,
  13. Theme? theme,
  14. LookAndFeel? lookAndFeel,
  15. ContentCreateSpaceHistory? history,
  16. required String key,
  17. Map<String, dynamic>? links,
})

Implementation

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