fetchOAuth2CurrentApplication method
Fetch the current OAuth2 application.
Implementation
Future<Application> fetchOAuth2CurrentApplication() async {
final route = HttpRoute()
..oauth2()
..applications(id: '@me');
final request = BasicRequest(route);
final response = await client.httpHandler.executeSafe(request);
return parse(response.jsonBody as Map<String, Object?>);
}