Workspace constructor

Workspace({
  1. required String id,
  2. required String name,
  3. required String slug,
  4. String? description,
  5. String? logoUrl,
  6. String? organizationId,
  7. WorkspaceOrganization? organization,
  8. String? role,
  9. Object? settings,
  10. bool? isDefault,
  11. int? memberCount,
  12. String? billingTier,
  13. DateTime? createdAt,
  14. DateTime? updatedAt,
})

Returns a new Workspace instance.

Implementation

Workspace({
  required this.id,
  required this.name,
  required this.slug,
  this.description,
  this.logoUrl,
  this.organizationId,
  this.organization,
  this.role,
  this.settings,
  this.isDefault,
  this.memberCount,
  this.billingTier,
  this.createdAt,
  this.updatedAt,
});