setCloudCustomData method Null safety

  1. @Deprecated('Deprecated, please use custom data when creating message')
Future<V2TimCallback> setCloudCustomData(
  1. {required String data,
  2. required String msgID}
)
@Deprecated('Deprecated, please use custom data when creating message')

Set cloud custom data (saved in the cloud, will be sent to the peer end, and can still be pulled after the app is uninstalled and reinstalled)

web not supported

Implementation

@Deprecated('Deprecated, please use custom data when creating messages')
Future<V2TimCallback> setCloudCustomData({
 required String data,
 required String msgID,
} ) async {
 return ImFlutterPlatform.instance
 .setCloudCustomData(data: data, msgID: msgID);
}