Factory method to create a Pair from a name and value.
the Pair instance or null
null
2.4.0
the name
the value