NCMBUser class Null safety

Inheritance

Constructors

NCMBUser()

Properties

fields → dynamic
Accessor methods. We can get fields data by obj.fields
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
name → dynamic
Accessor methods. We can get class name by obj.name
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(String name, Object value) → void
inherited
addUnique(String name, Object value) → void
inherited
delete() Future<bool>
inherited
enableSession() Future<bool>
fetch() Future<void>
Fetch a data from DataStore in NCMB. After fetched data, set to own fields from data.
inherited
get(String name) Object
inherited
getString(String name) String
inherited
hasKey(String name) bool
inherited
increment(String name, {int number = 1}) → void
inherited
myEncode(dynamic item) → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove(String name, Object value) → void
inherited
save() Future<void>
inherited
set(String name, Object value) → void
Set name and value to fields.
inherited
setLoginResponse(Map response) Future<void>
sets(Map map) → void
Call set methods for each key and value in map
inherited
signUpByAccount() Future<void>
toJson() Map
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

ncmb NCMB?
For accessing to NCMB
read / write, override

Static Methods

currentUser() Future<NCMBUser?>
login(String userName, String password) Future<NCMBUser>
loginAsAnonymous({String id = ''}) Future<NCMBUser>
loginWith(String provider, Map data) Future<NCMBUser>
loginWithMailAddress(String mailAddress, String password) Future<NCMBUser>
logout() Future<void>
query() NCMBQuery
requestPasswordReset(String mailAddress) Future<void>
requestSignUpEmail(String mailAddress) Future<void>