*/ public function toArray(Request $request): array { return [ 'id' => $this->id, 'platform' => $this->platform, 'network' => $this->platform->network(), 'platform_user_id' => $this->platform_user_id, 'username' => $this->username, 'display_name' => $this->display_name, 'display_label' => $this->display_label, 'handle_label' => $this->handle_label, 'avatar_url' => $this->avatar_url, 'profile_url' => $this->profile_url, 'status' => $this->status, 'is_active' => $this->is_active, 'error_message' => $this->error_message, 'last_used_at' => $this->last_used_at, 'created_at' => $this->created_at, ]; } }