ServiceAttachmentsScopedListWarning.fromJson constructor

ServiceAttachmentsScopedListWarning.fromJson(
  1. Map json_
)

Implementation

ServiceAttachmentsScopedListWarning.fromJson(core.Map json_)
    : this(
        code: json_.containsKey('code') ? json_['code'] as core.String : null,
        data: json_.containsKey('data')
            ? (json_['data'] as core.List)
                .map((value) =>
                    ServiceAttachmentsScopedListWarningData.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
      );