encodeNotificationResponsePayload function

String encodeNotificationResponsePayload({
  1. required Map<String, dynamic> data,
  2. required NotificationSource source,
})

Implementation

String encodeNotificationResponsePayload({
  required Map<String, dynamic> data,
  required NotificationSource source,
}) => jsonEncode({_sourceKey: source.name, _dataKey: data});