SubnetworksScopedList.fromJson constructor

SubnetworksScopedList.fromJson(
  1. Map json_
)

Implementation

SubnetworksScopedList.fromJson(core.Map json_)
    : this(
        subnetworks: json_.containsKey('subnetworks')
            ? (json_['subnetworks'] as core.List)
                .map((value) => Subnetwork.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? SubnetworksScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );