CometChatCallsException.jsonParseError constructor

CometChatCallsException.jsonParseError([
  1. String? details
])

Creates a CometChatCallsException for JSON parsing error.

Implementation

factory CometChatCallsException.jsonParseError([String? details]) {
  return CometChatCallsException(
    ErrorCodeConstants.errJsonException,
    ErrorMessageConstants.messageJsonException,
    details ?? ErrorDetailConstants.detailJsonException,
  );
}