Flagg’s record-setting performance delivered a much needed win for Dallas and sparked renewed optimism about the Mavs’ playoff hopes.