registerForGetToken function

Future registerForGetToken(
  1. BuildContext context, {
  2. Map<String, dynamic>? formValue,
})

register for get token function

Implementation

Future registerForGetToken(BuildContext context,
    {Map<String, dynamic>? formValue}) async {
  Htify notify = Htify.notification();
  return await notify.post(
      context, '${routes['notificationRegister']}', formValue ?? {});
}