GoogleCloudBillingBudgetsV1NotificationsRule.fromJson constructor Null safety

GoogleCloudBillingBudgetsV1NotificationsRule.fromJson(
  1. Map _json
)

Implementation

GoogleCloudBillingBudgetsV1NotificationsRule.fromJson(core.Map _json)
    : this(
        disableDefaultIamRecipients:
            _json.containsKey('disableDefaultIamRecipients')
                ? _json['disableDefaultIamRecipients'] as core.bool
                : null,
        monitoringNotificationChannels:
            _json.containsKey('monitoringNotificationChannels')
                ? (_json['monitoringNotificationChannels'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        pubsubTopic: _json.containsKey('pubsubTopic')
            ? _json['pubsubTopic'] as core.String
            : null,
        schemaVersion: _json.containsKey('schemaVersion')
            ? _json['schemaVersion'] as core.String
            : null,
      );