FxNotificationsState constructor

const FxNotificationsState({
  1. List<FxNotification> notifications = const [],
  2. int unreadCount = 0,
  3. bool isLoading = false,
  4. String? error,
  5. bool hasNextPage = false,
  6. int currentPage = 1,
})

Implementation

const FxNotificationsState({
  this.notifications = const [],
  this.unreadCount = 0,
  this.isLoading = false,
  this.error,
  this.hasNextPage = false,
  this.currentPage = 1,
});