BmobRoleTable class

Inheritance

Constructors

BmobRoleTable({String? name, List<BmobUserTable> users = const [], List<BmobRoleTable> roles = const []})

Properties

acl BmobACL
getter/setter pairinherited
createdAt String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
name String?
角色名称必须限制为字母数字字符、破折号(-)和下划线(_)
getter/setter pair
objectId String
getter/setter pairinherited
roles BmobRelation<BmobRoleTable, BmobRoleTable>?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt String
getter/setter pairinherited
users BmobRelation<BmobRoleTable, BmobUserTable>?
no setter

Methods

createJson() Map<String, dynamic>
override
delete() Future<bool>
删除
override
deleteFieldValue(List<String> field) Future<bool>
删除某些字段内容
inherited
fromJson(Map<String, dynamic> json) BmobRoleTable
override
getBmobTabName() String
数据表名称
override
getInfo({List<String> include = const []}) Future<bool>
获取信息
override
install() Future<bool>
添加
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setRoles(List<BmobRoleTable> roles) → void
setUsers(List<BmobUserTable> users) → void
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
update([Map<String, dynamic>? body]) Future<bool>
更新
override

Operators

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