К
Size: a a a
К
D
D
𝕷
К
D
G
MB
𝕷
MB
abstract class NotificationsState {
const NotificationsState();
}
class NotificationsInitial extends NotificationsState {
const NotificationsInitial();
}
class NotificationsLoading extends NotificationsState {
const NotificationsLoading();
}
lass NotificationsLoaded extends NotificationsState {
final List<NotificationItemDataModel> notifications;
const NotificationsLoaded({this.notifications})
NotificationsLoaded copyWith(
{List<NotificationItemDataModel> notificationsList}) {
return NotificationsLoaded(
notifications: notificationsList ?? this.notifications,
);
}
}
MB
𝕷
D
M
F
M
F
PS
PS