getAccessToken method

Future<String> getAccessToken(
  1. String token
)

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());
  }
}