refactor: test equality on constant
refactor: test equality on constant

Avoids potential NPE.

References https://outsystemsrd.atlassian.net/browse/RNMT-3515

OutSystems/Cordova-OutSystems-AppFeedback,OutSystems/Cordova-OutSystems-AppFeedback