GoogleCloudAdvisorynotificationsV1Message.fromJson constructor

GoogleCloudAdvisorynotificationsV1Message.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAdvisorynotificationsV1Message.fromJson(core.Map json_)
    : this(
        attachments: json_.containsKey('attachments')
            ? (json_['attachments'] as core.List)
                .map((value) =>
                    GoogleCloudAdvisorynotificationsV1Attachment.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        body: json_.containsKey('body')
            ? GoogleCloudAdvisorynotificationsV1MessageBody.fromJson(
                json_['body'] as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        localizationTime: json_.containsKey('localizationTime')
            ? json_['localizationTime'] as core.String
            : null,
      );