ParseACL class

Constructors

ParseACL()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addRights(String id, bool read, bool write) → void
Add read or write rights for specific user-id
canRead(String id) bool
Check whether user with id has read access
canWrite(String id) bool
Check whether user with id has write access
delete(String id) → void
Delete all rights from user-id
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
setPublic(bool read, bool write) → void
Define public read and write access
toJson() Map<String, dynamic>
simply put ACL object in data map from document to push this method will be called automatically
toString() String
returns a string containing all ids that have restrictions or rights
override

Operators

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

Static Methods

fromMap(Map<String, dynamic> data) ParseACL