invite method

Future<V2TimValueCallback<String>> invite({
  1. required String invitee,
  2. required String data,
  3. int timeout = 30,
  4. bool onlineUserOnly = false,
  5. OfflinePushInfo? offlinePushInfo,
})

Implementation

Future<V2TimValueCallback<String>> invite({
  required String invitee,
  required String data,
  int timeout = 30,
  bool onlineUserOnly = false,
  OfflinePushInfo? offlinePushInfo,
}) async {
  return ImFlutterPlatform.instance.invite(
      invitee: invitee,
      data: data,
      timeout: timeout,
      onlineUserOnly: onlineUserOnly,
      offlinePushInfo: offlinePushInfo);
}