const
DomainEntity({ - required String id,
- required String name,
- required String slug,
- String? description,
- String? iconName,
- required int sortOrder,
- String? ownerId,
- @Default('public') String visibility,
- String? orgId,
- @Default(false) bool isStarter,
- String? domainFamily,
- String? variant,
})
Implementation
const factory DomainEntity({
required String id,
required String name,
required String slug,
String? description,
String? iconName,
required int sortOrder,
String? ownerId,
@Default('public') String visibility,
/// Owning organization, when the domain is org content rather than a
/// personal one. A real column since migration 025 that the model never
/// mapped.
String? orgId,
/// Curated starter curriculum, surfaced in the in-app catalog.
@Default(false) bool isStarter,
String? domainFamily,
String? variant,
}) = _DomainEntity;