Cosmology in the Perspective of Metric-affine $$F(R, \mathcal {T})$$ Gravity