ServiceAttachmentsScopedList.fromJson constructor

ServiceAttachmentsScopedList.fromJson(
  1. Map json_
)

Implementation

ServiceAttachmentsScopedList.fromJson(core.Map json_)
    : this(
        serviceAttachments: json_.containsKey('serviceAttachments')
            ? (json_['serviceAttachments'] as core.List)
                .map((value) => ServiceAttachment.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? ServiceAttachmentsScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );