requestAccount method

Asks the user to select an account and give your application access to it.

Implementation

Future<CredentialsWithKnownAddress> requestAccount() {
  return rawRequest('eth_requestAccounts').then((res) {
    return MetaMaskCredentials((res as List).single as String, this);
  });
}