The 6-foot-11 center fills the Terps’ last scholarship spot for next season.
The Terps lead by as much as 16 but suffered their ninth away defeat in Big Ten play this year in their regular-season finale.
The Terps went undefeated at home in Big Ten play and were 16-1 at Xfinity Center this season.
Martinez averages the sixth most minutes on the team.
Derrick Walker and Keisei Tominaga scored a combined 43 points as the Cornhuskers downed the Terps in overtime.
Maryland faithful raced onto the hardwood as a hallmark moment in the young Kevin Willard era graced the Xfinity Center floor after the Terps' win over Purdue.
Hart notched the highest-scoring Big Ten game of his career as he finished with a game-high 23 points, adding five rebounds and four assists.
The Terps posted 16 assists in their win against Nebraska, tied for their season high.
The Terps picked up their second conference victory of the season.
Ian Martinez and Patrick Emilien replaced Don Carey and an injured Julian Reese in the starting lineup as coach Kevin Willard tinkered with the Terps' starters and rotations against the Peacocks.