fromJson static method

AuditLogs fromJson(
  1. Map<String, dynamic> json
)

Implementation

static AuditLogs fromJson(Map<String, dynamic> json) {
  return AuditLogs(
    webhooks: fromArray(Webhook.fromJson, json['webhooks'])!,
    users: fromArray(User.fromJson, json['users'])!,
    auditLogEntries: fromArray(
      AuditLogEntry.fromJson,
      json['audit_log_entries'],
    )!,
    integrations: fromArray(Integration.fromJson, json['integrations'])!,
  );
}