AbsManagerBuilder<Manager extends AbsWithLifeCycle> class abstract

This is an abstract class to build a manager with a lifecycle.

This is used to build managers for get it package.

Constructors

AbsManagerBuilder.new()
Class constructor.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build({Manager? managerToInit, PlatformType? currentPlatform}) Future<Manager>
Build the manager and call the AbsWithLifeCycle.initLifeCycle method.
create() → Manager
Call this method to create a new manager.
getDependencies() Iterable<Type>
Get the dependencies of the manager.
getSupportedPlatforms() List<PlatformType>
Get the platforms supported by the manager.
getWrongPlatformBehavior() WrongPlatformBehavior
Get the behavior of the manager building on an unsupported platform.
isPlatformSupported({PlatformType? currentPlatform}) bool
Check if the current platform is supported by the manager.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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