goToTeamChat<T extends Object?> function

Future<T?> goToTeamChat<T extends Object?>(
  1. BuildContext context,
  2. String teamId
)

Implementation

Future<T?> goToTeamChat<T extends Object?>(
    BuildContext context, String teamId) {
  return Navigator.pushNamed(context, RouterConstants.PATH_CHAT_PAGE,
      arguments: {'sessionId': teamId, 'sessionType': NIMSessionType.team});
}