GoogleCloudAdvisorynotificationsV1Message.fromJson constructor

GoogleCloudAdvisorynotificationsV1Message.fromJson(
  1. Map json_
)

Implementation

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