ExtensionBuilder<T extends ExtensionDescriptor> class
abstract
The base type for all extension builders. An extension builder is responsible for building an extension, by assembling all of the extension descriptors.
Constructors
- ExtensionBuilder({required Type extensionType, required String title})
- Creates a new ExtensionBuilder.
Properties
- extensionType → Type
-
The runtime Type of the extension.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
Whether the extension has been disposed.
no setter
- isInitialized → bool
-
Whether the extension is currently initialized.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
The title of the extension.
final
Methods
-
dispose(
) → Future< void> - Disposes the extension.
-
init(
List< ExtensionDescriptor> extensions) → Future<void> - Initializes the extension.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispose(
) → Future< void> - Protected method for subclasses to implement disposal logic.
-
onInit(
List< T> extensions) → Future<void> - Protected method for subclasses to implement initialization logic.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited