PublicDelegatedPrefixesScopedList.fromJson constructor

PublicDelegatedPrefixesScopedList.fromJson(
  1. Map json_
)

Implementation

PublicDelegatedPrefixesScopedList.fromJson(core.Map json_)
  : this(
      publicDelegatedPrefixes:
          (json_['publicDelegatedPrefixes'] as core.List?)
              ?.map(
                (value) => PublicDelegatedPrefix.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      warning: json_.containsKey('warning')
          ? PublicDelegatedPrefixesScopedListWarning.fromJson(
              json_['warning'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );