getAccessToken method
Implementation
Future<String> getAccessToken(String token) async {
try {
return await UaePassPlatform.instance.getAccessToken(token);
} on PlatformException catch (e) {
throw (e.message ?? "Unknown error");
} catch (e) {
throw (e.toString());
}
}