Creates a ScaleSpec from JSON data.
ScaleSpec.fromJson(Map<String, dynamic> json) : this( replicas: json['replicas'], );