goToPinPage<T extends Object?>  function 
 
        
Future<T?> 
goToPinPage<T extends Object?>( 
    
- BuildContext context,
- String conversationId,
- NIMConversationType type,
- String title,
跳转到Pin 消息页面
Implementation
Future<T?> goToPinPage<T extends Object?>(BuildContext context,
    String conversationId, NIMConversationType type, String title) {
  if (IMKitRouter.instance.enableGoRouter) {
    return context.pushNamed(RouterConstants.PATH_CHAT_PIN_PAGE, extra: {
      'conversationId': conversationId,
      'conversationType': type,
      'chatTitle': title
    });
  }
  return Navigator.pushNamed(context, RouterConstants.PATH_CHAT_PIN_PAGE,
      arguments: {
        'conversationId': conversationId,
        'conversationType': type,
        'chatTitle': title
      });
}