openTikTokUserPage method
Open a user page on TikTok app method.
The method required a username
that you want to open their TikTok page.
Working on: Android and iOS platforms.
Implementation
Future<dynamic> openTikTokUserPage({
required String username,
}) async {
if (username.contains('@')) {
username = username.replaceAll('@', '');
}
return _channel.invokeMethod(
'openTikTokUserPage',
{
'username': '@$username',
},
);
}