check static method

Future<AccountBalance> check(
  1. String token
)

Implementation

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

  return AccountBalance.fromJson(post.body);
}