Role enum

A collection of all possible roles users can have in a share

Inheritance

Constructors

Role({required String backendName})
Creates a Role with the given backendName
const

Values

admin → const Role

Admin Role. Users with this role have full access to the Space

const Role(backendName: 'admin')
reader → const Role

Reader Role. Users with this role can only read Information

const Role(backendName: 'reader')
writer → const Role

Writer Role. Users with this role can write data into grids but cannot change grid/view settings

const Role(backendName: 'writer')

Properties

backendName String
The name used by the backend for parsing
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

values → const List<Role>
A constant List of the values in this enum, in order of their declaration.