CommentController constructor
CommentController({
- required CommentService service,
- required CommentConfig config,
- required UserInfo user,
Creates a new CommentController.
All parameters are required:
service: The implementation of CommentService to useconfig: Configuration for the comments moduleuser: Information about the current user
Implementation
CommentController({
required this.service,
required this.config,
required this.user,
});