GoogleIamV1AuditConfig.fromJson constructor

GoogleIamV1AuditConfig.fromJson(
  1. Map _json
)

Implementation

GoogleIamV1AuditConfig.fromJson(core.Map _json)
    : this(
        auditLogConfigs: _json.containsKey('auditLogConfigs')
            ? (_json['auditLogConfigs'] as core.List)
                .map<GoogleIamV1AuditLogConfig>((value) =>
                    GoogleIamV1AuditLogConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        service: _json.containsKey('service')
            ? _json['service'] as core.String
            : null,
      );