ConsumerPermission class

Annotations

Constructors

ConsumerPermission({bool menu = false, bool view = false, bool insert = false, bool update = false, bool delete = false, String iconName = 'solidCircle', String name = ''})
const
ConsumerPermission.allowAll({String? name, String? iconName})
const
ConsumerPermission.fromJson(Map<String, dynamic> map)

Properties

delete bool
final
hashCode int
The hash code for this object.
no setterinherited
iconName String
final
insert bool
final
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
update bool
final
view bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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