AppNotificationConfig constructor
const
AppNotificationConfig({
- int? notificationLimit,
- Uri archiveApiEndpoint(
- AppNotification notification
- BaseRequest markAsReadRequestMapper(
- Request request,
- AppNotification notification
- BaseRequest archiveRequestMapper(
- Request request,
- AppNotification notification
- BaseRequest archiveAllRequestMapper(
- Request request
- Uri archiveAllApiEndpoint()?,
- Uri markAllAsReadApiEndpoint()?,
- BaseRequest markAllAsReadRequestMapper(
- Request request
- int getCountResponseParser(
- Response response
- List<
AppNotification> getListResponseParser(- Response response
- required Uri getListApiEndpoint(),
- Uri markAsReadCompleteApiEndpoint(
- AppNotification notification
- required Uri getCountApiEndpoint(),
- NotificationMetadataMapper? metadataMapper,
- String? archiveMethod,
Implementation
const AppNotificationConfig({
this.notificationLimit,
this.archiveApiEndpoint,
this.markAsReadRequestMapper,
this.archiveRequestMapper,
this.archiveAllRequestMapper,
this.archiveAllApiEndpoint,
this.markAllAsReadApiEndpoint,
this.markAllAsReadRequestMapper,
this.getCountResponseParser,
this.getListResponseParser,
required this.getListApiEndpoint,
this.markAsReadCompleteApiEndpoint,
required this.getCountApiEndpoint,
this.metadataMapper,
this.archiveMethod,
});