AuditConfig.fromJson constructor

AuditConfig.fromJson(
  1. Map _json
)

Implementation

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