HeaderState constructor

HeaderState({
  1. required APIStatus status,
  2. required Object notificationType,
  3. required String userId,
  4. required String userIdWS,
  5. List<NotificationAndCount> notificationCounts = const [],
  6. List<HeaderAccountNotification> accountNotifications = const [],
})

Returns a new HeaderState instance.

Implementation

HeaderState({
  required this.status,
  required this.notificationType,
  required this.userId,
  required this.userIdWS,
  this.notificationCounts = const [],
  this.accountNotifications = const [],
});