HPAScalingPolicy.fromJson constructor

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

Creates a HPAScalingPolicy from JSON data.

Implementation

HPAScalingPolicy.fromJson(Map<String, dynamic> json)
    : this(
        periodSeconds: json['periodSeconds'],
        type: json['type'],
        value: json['value'],
      );