UserAccounts constructor
UserAccounts({
- required Rx<
User> user, - required Rx<
String> sessionTOKEN, - required Rxn<
String> language, - List<
Post> ? widgetPosts, - List<
StoryList> ? widgetStoriescard, - List<
Post> ? lastsharingpost, - List<
Media> ? gallery, - List<
APIPlayerPop> ? xpcard, - List<
APIPlayerPop> ? popcard, - List<
Chat> ? chatList, - List<
Chat> ? newchatList, - List<
News> ? newsList, - List<
User> ? searchList, - List<
Notifications> ? notificationList, - List<
User> ? lastviewusersList, - List<
Group> ? lastviewgroupsList, - List<
School> ? lastviewschoolsList, - List<
Station> ? lastviewstationsList, - List<
Team> ? favoriteteams, - Map<
String, dynamic> ? favTeam, - bool favteamRequest = false,
- Rx<
int> ? chatNotificationCount, - Rx<
int> ? friendRequestCount, - Rx<
int> ? surveyNotificationCount, - Rx<
int> ? eventsNotificationCount, - Rx<
int> ? downloadableCount, - Rx<
int> ? groupInviteCount,
Implementation
UserAccounts({
required this.user,
required this.sessionTOKEN,
required this.language,
this.widgetPosts,
this.widgetStoriescard,
this.lastsharingpost,
this.gallery,
this.xpcard,
this.popcard,
this.chatList,
this.newchatList,
this.newsList,
this.searchList,
this.notificationList,
this.lastviewusersList,
this.lastviewgroupsList,
this.lastviewschoolsList,
this.lastviewstationsList,
this.favoriteteams,
this.favTeam,
this.favteamRequest = false,
Rx<int>? chatNotificationCount,
Rx<int>? friendRequestCount,
Rx<int>? surveyNotificationCount,
Rx<int>? eventsNotificationCount,
Rx<int>? downloadableCount,
Rx<int>? groupInviteCount,
}) : chatNotificationCount = chatNotificationCount ?? Rx<int>(0),
surveyNotificationCount = surveyNotificationCount ?? Rx<int>(0),
eventsNotificationCount = eventsNotificationCount ?? Rx<int>(0),
downloadableCount = downloadableCount ?? Rx<int>(0),
friendRequestCount = friendRequestCount ?? Rx<int>(0),
groupInviteCount = groupInviteCount ?? Rx<int>(0);