GoogleCloudAdvisorynotificationsV1Settings.fromJson constructor

GoogleCloudAdvisorynotificationsV1Settings.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAdvisorynotificationsV1Settings.fromJson(core.Map json_)
    : this(
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        notificationSettings: json_.containsKey('notificationSettings')
            ? (json_['notificationSettings']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudAdvisorynotificationsV1NotificationSettings
                      .fromJson(value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );