kemproApiV2NotificationsGet method

Future<Response<List<NotificationV2>>> kemproApiV2NotificationsGet({
  1. int? deviceId,
  2. bool? isUnRead,
  3. bool? isDeleted,
  4. int? offset,
  5. int? limit,
})

Get the notifications of the currently logged-in user.

The notification list will be based on the Dealer ID claim of the OAuth2 authenticated user. @param DeviceId @param IsUnRead @param IsDeleted @param Offset @param Limit

Implementation

Future<chopper.Response<List<NotificationV2>>> kemproApiV2NotificationsGet({
  int? deviceId,
  bool? isUnRead,
  bool? isDeleted,
  int? offset,
  int? limit,
}) {
  generatedMapping.putIfAbsent(
      NotificationV2, () => NotificationV2.fromJsonFactory);

  return _kemproApiV2NotificationsGet(
      deviceId: deviceId,
      isUnRead: isUnRead,
      isDeleted: isDeleted,
      offset: offset,
      limit: limit);
}