switchMember static method
void
switchMember(
- BuildContext context,
- AppModel app,
- String pageId,
- String memberId,
- String? currentMemberId,
Implementation
static void switchMember(BuildContext context, AppModel app, String pageId,
String memberId, String? currentMemberId) {
router.Router.navigateTo(context, GotoPage(app, pageID: pageId),
parameters: currentMemberId == memberId
? null
: {switchMemberFeedPageParameter: memberId});
}