GoogleCloudAdvisorynotificationsV1Notification.fromJson constructor
GoogleCloudAdvisorynotificationsV1Notification.fromJson(
- Map json_
Implementation
GoogleCloudAdvisorynotificationsV1Notification.fromJson(core.Map json_)
: this(
createTime: json_['createTime'] as core.String?,
messages:
(json_['messages'] as core.List?)
?.map(
(value) => GoogleCloudAdvisorynotificationsV1Message.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
name: json_['name'] as core.String?,
notificationType: json_['notificationType'] as core.String?,
subject:
json_.containsKey('subject')
? GoogleCloudAdvisorynotificationsV1Subject.fromJson(
json_['subject'] as core.Map<core.String, core.dynamic>,
)
: null,
);