signUpByAccount static method
ユーザー登録を行う
userName
ユーザー名
password
パスワード
Implementation
static Future<NCMBUser> signUpByAccount(
String userName, String password) async {
Map _fields = {'userName': userName, 'password': password};
NCMBRequest r = new NCMBRequest();
Map response = await r.post('users', _fields);
_fields.remove('password');
var user = NCMBUser();
await user.setLoginResponse(response);
return user;
}