onClick property
dynamic Function(User? user, Group? group, String section, CometChatDetailsControllerProtocol state)?
onClick
getter/setter pair
onClick call function which takes 3 parameter , and one of user or group is populated at a time
Implementation
Function(User? user, Group? group, String section,
CometChatDetailsControllerProtocol state)? onClick;