Type of function that should return a push payload
typedef PayloadGetter = Map<String, dynamic> Function();