LocalChatService constructor
- ChatDetailService? localChatDetailService,
- ChatOverviewService? localChatOverviewService,
- ChatUserService? localChatUserService,
Constructor for LocalChatService.
localChatDetailService: Optional local ChatDetailService instance, defaults to LocalChatDetailService. localChatOverviewService: Optional local ChatOverviewService instance, defaults to LocalChatOverviewService. localChatUserService: Optional local ChatUserService instance, defaults to LocalChatUserService.
Implementation
LocalChatService({
this.localChatDetailService,
this.localChatOverviewService,
this.localChatUserService,
}) {
localChatOverviewService ??= LocalChatOverviewService();
localChatDetailService ??= LocalChatDetailService(
chatOverviewService: localChatOverviewService!,
);
localChatUserService ??= LocalChatUserService();
}