CometChatCallsException.jsonParseError constructor
CometChatCallsException.jsonParseError([
- String? details
Creates a CometChatCallsException for JSON parsing error.
Implementation
factory CometChatCallsException.jsonParseError([String? details]) {
return CometChatCallsException(
ErrorCodeConstants.errJsonException,
ErrorMessageConstants.messageJsonException,
details ?? ErrorDetailConstants.detailJsonException,
);
}