CapacityProviderStrategyItem class

The details of a capacity provider strategy.

Constructors

CapacityProviderStrategyItem({required String capacityProvider, int? base, int? weight})
CapacityProviderStrategyItem.fromJson(Map<String, dynamic> json)
factory

Properties

base int?
The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
final
capacityProvider String
The short name of the capacity provider.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weight int?
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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