AutoscalersScopedList.fromJson constructor

AutoscalersScopedList.fromJson(
  1. Map json_
)

Implementation

AutoscalersScopedList.fromJson(core.Map json_)
    : this(
        autoscalers: json_.containsKey('autoscalers')
            ? (json_['autoscalers'] as core.List)
                .map((value) => Autoscaler.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? AutoscalersScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );