add accessor for showWhen field on ShadowNotification

[Fixes #1253]