UserRoles class

Defines user roles used for access control in the Fetosense MIS application.

The UserRoles class provides static constants representing different user roles such as user, admin, and super admin.

Constructors

UserRoles.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

admin → const String
Admin user role.
superAdmin → const String
Super admin user role.
user → const String
Regular user role.