@override Object toJson() => { if (service.isNotDefault) 'service': service, if (auditLogConfigs.isNotDefault) 'auditLogConfigs': [for (final i in auditLogConfigs) i.toJson()], };