TargetInstancesScopedList.fromJson constructor

TargetInstancesScopedList.fromJson(
  1. Map json_
)

Implementation

TargetInstancesScopedList.fromJson(core.Map json_)
    : this(
        targetInstances: json_.containsKey('targetInstances')
            ? (json_['targetInstances'] as core.List)
                .map((value) => TargetInstance.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? TargetInstancesScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );