check static method
Implementation
static Future<AccountBalance> check(String token) async {
http.Response post = await http.post(checkBalancePost, body: {
"auth_token": token,
});
return AccountBalance.fromJson(post.body);
}
static Future<AccountBalance> check(String token) async {
http.Response post = await http.post(checkBalancePost, body: {
"auth_token": token,
});
return AccountBalance.fromJson(post.body);
}