LCACL class Null safety

LeanCloud Access Control Lists.

Constructors

LCACL()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
readAccess Map<String, bool>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
writeAccess Map<String, bool>
read / write

Methods

getPublicWriteAccess() bool
getPublilcReadAccess() bool
getRoleReadAccess(LCRole role) bool
getRoleWriteAccess(LCRole role) bool
getUserIdReadAccess(String userId) bool
getUserIdWriteAccess(String userId) bool
getUserReadAccess(LCUser user) bool
getUserWriteAccess(LCUser user) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setPublicReadAccess(bool value) → void
setPublicWriteAccess(bool value) → void
setRoleReadAccess(LCRole role, bool value) → void
setRoleWriteAccess(LCRole role, bool value) → void
setUserIdReadAccess(String userId, bool value) → void
setUserIdWriteAccess(String userId, bool value) → void
setUserReadAccess(LCUser user, bool value) → void
setUserWriteAccess(LCUser user, bool value) → void
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

createWithOwner(LCUser owner) LCACL
Creates an ACL object of LCUser.

Constants

PublicKey → const String
'*'
RoleKeyPrefix → const String
'role:'