currentMember method
Implementation
MemberModel? currentMember(BuildContext context) {
var state = AccessBloc.getState(context);
if (state is LoggedIn) {
return state.member;
} else {
return null;
}
}
MemberModel? currentMember(BuildContext context) {
var state = AccessBloc.getState(context);
if (state is LoggedIn) {
return state.member;
} else {
return null;
}
}