removeDeviceToken method

Future<RemoveDeviceTokenReq?> removeDeviceToken({
  1. required String deviceToken,
  2. required String domain,
  3. required String extension,
})

Implementation

Future<RemoveDeviceTokenReq?> removeDeviceToken({
  required String deviceToken,
  required String domain,
  required String extension,
}) async {
  try {
    final response = await _pitelApi.removeDeviceToken(
      deviceToken: deviceToken,
      domain: domain,
      extension: extension,
    );
    return response;
  } catch (err) {
    return null;
  }
}