Jet properties in PbPb and pp collisions at \( \sqrt{s_{\mathrm{N}\;\mathrm{N}}}=5.02 \) TeV