navigateToGlobalSearch<T extends Object?> function

Future<T?>? navigateToGlobalSearch<T extends Object?>({
  1. required BuildContext context,
  2. dynamic options,
})

Navigate to TencentCloudChatGlobalSearch, while options should be TencentCloudChatSearchOptions /// TODO: 这里的名字根据实际的再改哦~

Implementation

Future<T?>? navigateToGlobalSearch<T extends Object?>({
  required BuildContext context,
  dynamic options,
}) {
  return TencentCloudChatRouter().navigateTo<T>(
    context: context,
    routeName: TencentCloudChatRouteNames.globalSearch,
    options: options,
  );
}