navigateToUserProfile<T extends Object?> function

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

Navigate to TencentCloudChatUserProfile, while options should be TencentCloudChatUserProfileOptions

Implementation

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