DocPerm class

isOwner & ifOwner isOwner is available in DocPerm only. ifOwner is available in Permission isOwner specifies that this instance (or line) of DocPerm is applicable only if user is owner ifOwner signifies the set of permissions to apply if user if the owner

Inheritance
Annotations
  • @JsonSerializable()

Constructors

DocPerm()
DocPerm.fromJson(Map<String, dynamic>? json)
factory

Properties

amend bool
getter/setter pair
amendedFrom String?
getter/setter pairinherited
cancel bool
getter/setter pair
create bool
getter/setter pair
creation DateTime?
getter/setter pairinherited
delete bool
getter/setter pair
docStatus FrappeDocStatus?
getter/setter pairinherited
doctype String?
getter/setter pairinherited
email bool
getter/setter pair
export bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idx int?
getter/setter pairinherited
ifOwner bool
getter/setter pair
import bool
getter/setter pair
isLocal bool?
getter/setter pairinherited
match ↔ dynamic
getter/setter pair
modified DateTime?
getter/setter pairinherited
modifiedBy String?
getter/setter pairinherited
name String?
getter/setter pairinherited
owner String?
getter/setter pairinherited
parent String?
getter/setter pairinherited
parentField String?
getter/setter pairinherited
parentType String?
getter/setter pairinherited
permLevel int?
getter/setter pair
print bool
getter/setter pair
rawResponse Map<String, dynamic>?
getter/setter pairinherited
read bool
getter/setter pair
recursiveDelete bool
getter/setter pair
report bool
getter/setter pair
role String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setUserPermissions bool
getter/setter pair
share bool
getter/setter pair
submit bool
getter/setter pair
unsaved bool?
getter/setter pairinherited
write bool
getter/setter pair

Methods

deserializeList<T>(List? docs) List<T>?
inherited
fromJson<T>(Map<String, dynamic>? json) → T
Returns the target type from json (Map)
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns the JSON representation of a type in the form of Map
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

ifOwnerCheckToBool(dynamic value) bool
A wrapper on FrappeDocFieldConverter.checkToBool for scenarios where if_owner could be an empty object, when if_owner is not defined for a doc