getCurrentApplication static method
This will request the current application instance.
Implementation
static Future<Application> getCurrentApplication() async {
Dio dio = Dio(DiscordSessionSettings.getOptions);
var reply = await dio.get(
"${DiscordEndpoints.BaseURL}${DiscordEndpoints.Applications}${DiscordEndpoints.ME}");
String jsonReply = reply.data as String;
return Application.fromJson(jsonReply);
}