RoleAuthorizer class Null safety

Constructors

RoleAuthorizer()

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

admin(Request req, dynamic user) Future<Response?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
userInRole(Request req, dynamic user, String role) Future<Response?>
userInRoles(Request req, dynamic user, List<String> roles) Future<Response?>

Operators

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