Bootstrapper<P> class

Constructors

Bootstrapper({required P property, required List<Bootstrapable<P>> bootstrapables})

Properties

bootstrapables List<Bootstrapable<P>>
The list of Bootstrapable objects that needs to be executed.
final
hashCode int
The hash code for this object.
no setterinherited
property → P
The value that will be passed to the initialize method of each Bootstrapable object.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

groupByGroupId(List<Bootstrapable> values) Map<int, List<Bootstrapable>>
initialize() Future<void>
Groups all Bootstrapable objects by their groupIds and initializes the objects in each group in parallel by calling their initialize methods.
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