getAccessToken method

  1. @override
Future<String> getAccessToken()
override

Implementation

@override
Future<String> getAccessToken() async {
  final prefs = await SharedPreferences.getInstance();
  return prefs.getString(GET_ACCESS_TOKEN_KEY) ?? "";
}