NCMBRole class Null safety

Inheritance

Constructors

NCMBRole(String roleName)

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 key, Object obj) → void
override
addRole(dynamic role) → void
addUnique(String name, Object value) → void
inherited
addUser(dynamic user) → void
delete() Future<bool>
inherited
fetch() Future<void>
Fetch a data from DataStore in NCMB. After fetched data, set to own fields from data.
inherited
fetchRole() Future<List>
fetchUser() Future<List>
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 key, Object obj) → void
override
removeRole(dynamic role) → void
removeUser(dynamic user) → void
save() Future<void>
override
set(String name, Object value) → void
Set name and value to fields.
inherited
sets(Map map) → void
Call set methods for each key and value in map
inherited
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

query() NCMBQuery