toEmit method
Implementation
Future<CartInitialised> toEmit(LoggedIn accessState) async {
var member = accessState.member;
var cart = await memberCartRepository(appId: appId)!.get(member.documentID);
return CartInitialised(cart?.cartItems);
}
Future<CartInitialised> toEmit(LoggedIn accessState) async {
var member = accessState.member;
var cart = await memberCartRepository(appId: appId)!.get(member.documentID);
return CartInitialised(cart?.cartItems);
}