handleMessageErrorCode static method

V2TimValueCallback<V2TimMessage>? handleMessageErrorCode(
  1. V2TimValueCallback<V2TimMessage>? sendMsgRes,
  2. BuildContext context
)

Implementation

static V2TimValueCallback<V2TimMessage>? handleMessageErrorCode(
    V2TimValueCallback<V2TimMessage>? sendMsgRes, BuildContext context) {
  if (sendMsgRes == null) return null;

  return sendMsgRes;
}