Unlike in Gods Among Us, Injustice 2 does not feature Nightwing as a separate playable character. Instead, he was been replace with simply Robin, who, in this version, uses a sword instead of his trusty staff. However, Nightwing is still seen and fought in both Story Mode and Multiverse.
But it actually turns out that Nightwing is, in fact, a variation of Robin that a player can unlcok with the proper ability. In order to play as Nightwing instead of Robin, you must first unlock the ability for Robin known as "Staff of Grayson". This ability is at random drop and takes up both Ability Slots, but it changes all of Robin's moves to use his staff instead of his sword. This small change is what fans are calling the way to "technically" unlock Nightwing.
Should the staff replacement not be enough for you to fully feel like your using Nightwing, however, you can always alternate Robin's appearance to better match his former appearance. There are several Gear Sets and Shaders that will easily make Robin look more like Nightwing, or however you feel or want Nightwing to look like.