loginWithMailAddress static method
メールアドレス認証を行う
mailAddress
メールアドレス
password
パスワード
Implementation
static Future<NCMBUser> loginWithMailAddress(
String mailAddress, String password) async {
var _fields = {'mailAddress': mailAddress, 'password': password};
NCMBRequest r = new NCMBRequest();
Map response =
await r.exec('GET', 'users', queries: _fields, path: 'login');
var user = NCMBUser();
await user.setLoginResponse(response);
return user;
}