setLocalCustomData method Null safety

Future<V2TimCallback> setLocalCustomData(
  1. {required String msgID,
  2. required String localCustomData}
)

Set message custom data (saved locally, will not be sent to the opposite end, and will be invalid after the program is uninstalled and reinstalled) localCustomData is just transparent transmission Note: web does not support this interface

Implementation

Future<V2TimCallback> setLocalCustomData({
  required String msgID,
  required String localCustomData,
}) async {
  return ImFlutterPlatform.instance
      .setLocalCustomData(msgID: msgID, localCustomData: localCustomData);
}