toFragment

Get the wrapped value as a DialogFragment.

You should check the kind of view before calling this method.

Return

The wrapped value as a DialogFragment, or null.