AmplifyCategory<P extends AmplifyPluginInterface> class
abstract
Base functionality for Amplify categories.
Constructors
Properties
- category → Category
-
no setter
-
categoryDependencies
→ Set<
Category> -
The categories this category depends on.
no setter
- defaultPlugin → P
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
plugins
→ List<
P> -
The plugins registered for this category.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPlugin(
P plugin, {required AmplifyAuthProviderRepository authProviderRepo}) → Future< void> - Adds a plugin to the category.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → Future< void> - Resets the category, clearing all registered plugins.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited