sendAdvancedNotificationToUser static method

Future<void> sendAdvancedNotificationToUser(
  1. IdType type,
  2. String id,
  3. String json
)

Implementation

static Future<void> sendAdvancedNotificationToUser(
    IdType type, String id, String json) async {
  if(!Platform.isAndroid) return;
  String idType = type.toString();
  await _channel.invokeMethod('Pushe.sendAdvancedUserNotification',
      {"type": idType, "id": id, "advancedJson": jsonEncode(json)});
  return;
}