Luka Doncic powered the Dallas Mavericks to victory over the Brooklyn Nets with a 31-point, 13-rebound performance.