CapacityProviderStrategyItem.fromJson constructor

CapacityProviderStrategyItem.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CapacityProviderStrategyItem.fromJson(Map<String, dynamic> json) {
  return CapacityProviderStrategyItem(
    capacityProvider: json['capacityProvider'] as String,
    base: json['base'] as int?,
    weight: json['weight'] as int?,
  );
}