refreshToken method
Implementation
Future<void> refreshToken(String token) async {
try {
await _channel.invokeMethod('refreshToken', {
'token': token,
});
} on PlatformException catch (e) {
log("Failed to refresh token: ${e.message}");
rethrow;
}
}