BmobACL class

Constructors

BmobACL([Map<String, dynamic> acl = const {}])

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

all({bool read = false, bool write = false}) BmobACL
设置全部人及其权限权限
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
role(BmobRoleTable role, {bool read = false, bool write = false}) BmobACL
设置角色及其权限
roles(List<BmobRoleTable> roles, {bool read = false, bool write = false}) BmobACL
设置多个角色及统一权限
toJson() Map<String, dynamic>
权限的Json
toString() String
A string representation of this object.
inherited
user(BmobUserTable user, {bool read = false, bool write = false}) BmobACL
设置用户及其权限
users(List<BmobUserTable> users, {bool read = false, bool write = false}) BmobACL
设置多用户及统一权限

Operators

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