getAccount method

Future<String> getAccount()

Wrapper around request to get list of accounts

Implementation

Future<String> getAccount() async {
  List<String> accounts = List<String>.from(
      await request(method: METHOD_GET_ACCOUNTS, params: []));
  return accounts[0];
}