send abstract method

Future<NotificationResult> send(
  1. NotificationPayload payload, {
  2. required Map<String, String> environment,
  3. bool dryRun = false,
})

Dispatches payload to the destination. Network calls MUST be skipped if dryRun is true.

Implementation

Future<NotificationResult> send(
  NotificationPayload payload, {
  required Map<String, String> environment,
  bool dryRun = false,
});