NetworkAttachmentsScopedList.fromJson constructor

NetworkAttachmentsScopedList.fromJson(
  1. Map json_
)

Implementation

NetworkAttachmentsScopedList.fromJson(core.Map json_)
    : this(
        networkAttachments: (json_['networkAttachments'] as core.List?)
            ?.map((value) => NetworkAttachment.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        warning: json_.containsKey('warning')
            ? NetworkAttachmentsScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );