AccessModel class

Constructors

AccessModel({required String documentID, required String appId, PrivilegeLevel? privilegeLevel, int? points, bool? blocked, PrivilegeLevelBeforeBlocked? privilegeLevelBeforeBlocked})

Properties

appId String
getter/setter pairoverride
blocked bool?
getter/setter pair
documentID String
getter/setter pairoverride
hashCode int
The hash code for this object.
no setteroverride
points int?
getter/setter pair
privilegeLevel PrivilegeLevel?
getter/setter pair
privilegeLevelBeforeBlocked PrivilegeLevelBeforeBlocked?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? appId, PrivilegeLevel? privilegeLevel, int? points, bool? blocked, PrivilegeLevelBeforeBlocked? privilegeLevelBeforeBlocked}) AccessModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) AccessEntity
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(String documentID, AccessEntity? entity) Future<AccessModel?>
fromEntityPlus(String documentID, AccessEntity? entity, {String? appId}) Future<AccessModel?>

Constants

id → const String
packageName → const String