NCMBRole class

Inheritance

Constructors

NCMBRole(String roleName)

Properties

fields → dynamic
Accessor methods. We can get fields data by obj.fields
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name → dynamic
Accessor methods. We can get class name by obj.name
no setterinherited
objectId String?
ObjectId
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String key, Object obj) → void
override
addRole(dynamic role) → void
addUnique(String name, Object value) → void
inherited
addUser(dynamic user) → void
containsKey(String name) bool
inherited
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
getBool(String name, {bool? defaultValue}) bool
inherited
getDateTime(String name, {DateTime? defaultValue}) DateTime
inherited
getDouble(String name, {double? defaultValue}) double
inherited
getInt(String name, {int? defaultValue}) int
inherited
getList(String name, {List? defaultValue}) List
inherited
getString(String name, {String? defaultValue}) 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 nonexistent 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?
getter/setter pair

Static Methods

query() NCMBQuery