KnowledgeBase class

Constructors

KnowledgeBase()

Properties

eventChannel Stream<KnowledgeBaseEvent>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

categorize(ResourceType type, bool shouldCategorize) Future<Null>
combineDepartments(ResourceType type, bool merge) Future<Null>
getCategories(ResourceType type, {String? departmentId, String? parentCategoryId}) Future<List<ResourceCategory>>
getResourceDepartments() Future<List<ResourceDepartment>>
getResources(ResourceType type, {String? departmentId, String? parentCategoryId, String? searchKey, int page = 1, int limit = 99}) Future<Result>
getSingleResource(ResourceType type, String id) Future<Resource?>
isEnabled(ResourceType type) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(ResourceType type, String id) Future<bool>
setRecentlyViewedCount(int limit) → void
setVisibility(ResourceType type, bool shouldShow) Future<Null>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited