getAuthToken method

  1. @override
Future<String?> getAuthToken()
override

Implementation

@override
Future<String?> getAuthToken() async {
  try {
    final authToken =
        await methodChannel.invokeMethod<String?>('getAuthToken');
    return authToken;
  } catch (e) {
    throw PassageError.fromObject(object: e);
  }
}