TargetPoolsScopedList.fromJson constructor

TargetPoolsScopedList.fromJson(
  1. Map json_
)

Implementation

TargetPoolsScopedList.fromJson(core.Map json_)
    : this(
        targetPools: json_.containsKey('targetPools')
            ? (json_['targetPools'] as core.List)
                .map((value) => TargetPool.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? TargetPoolsScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );