sendNotification method

Future<void> sendNotification({
  1. required String notificationId,
  2. List<String>? consumerIds,
  3. List<String>? deviceTokens,
  4. List<String>? tagIds,
  5. String? osType,
  6. String? timezone,
  7. DateTime? scheduledTime,
  8. Map<String, dynamic>? variables,
})

Send notification to specific targets (second step)

Implementation

Future<void> sendNotification({
  required String notificationId,
  List<String>? consumerIds,
  List<String>? deviceTokens,
  List<String>? tagIds,
  String? osType,
  String? timezone,
  DateTime? scheduledTime,
  Map<String, dynamic>? variables,
}) async {
  await _platform.sendNotification(
    notificationId: notificationId,
    consumerIds: consumerIds,
    deviceTokens: deviceTokens,
    tagIds: tagIds,
    osType: osType,
    timezone: timezone,
    scheduledTime: scheduledTime,
    variables: variables,
  );
}