setConversationDraft method Null safety

Future<V2TimCallback> setConversationDraft(
  1. {required String conversationID,
  2. String? draftText}
)

Set a conversation draft

It only saves locally, does not store Server, and cannot synchronize multiple terminals. Uninstalling and reinstalling the program will fail. 

Parameter

draftText	Draft content, null means cancel the draft

Implementation

Future<V2TimCallback> setConversationDraft({
  required String conversationID,
  String? draftText,
}) async {
  return ImFlutterPlatform.instance.setConversationDraft(
      conversationID: conversationID, draftText: draftText);
}