Organization constructor

Organization({
  1. required String id,
  2. required String name,
  3. required String slug,
  4. String? description,
  5. String? logoUrl,
  6. required String role,
  7. int? memberCount,
  8. int? workspaceCount,
  9. List<OrganizationWorkspacesInner> workspaces = const [],
  10. required DateTime createdAt,
  11. required DateTime updatedAt,
})

Returns a new Organization instance.

Implementation

Organization({
  required this.id,
  required this.name,
  required this.slug,
  this.description,
  this.logoUrl,
  required this.role,
  this.memberCount,
  this.workspaceCount,
  this.workspaces = const [],
  required this.createdAt,
  required this.updatedAt,
});