OsuLoaderData method
dynamic
OsuLoaderData()
Return All JSON Response
Implementation
OsuLoaderData() async {
final base = RetryClient(http.Client());
var encoder = new JsonEncoder.withIndent(" ");
try {
String DataText = await base.read(Uri.parse(
"$BASE_URL/$typeosu/?$data_endpoint=$ids&client_id=$client_id&client_secret=$client_secret"));
var output = jsonDecode(DataText);
return encoder.convert(output);
} finally {
base.close();
}
}