authenticateEmail method

Future<bool> authenticateEmail(
  1. String loginID
)

Implementation

Future<bool> authenticateEmail(String loginID) async {
  String apiKey = await _emailAuthenticateApi(loginID);

  if (apiKey != '') {
    await _authenticate(apiKey);
  } else {
    _authenticated = false;
    _error = true;
    _errorMessage = 'Hmm. Your login id or password seems to be incorrect.';
    //notifyListeners();
  }

  return _authenticated;
}