Privacy class

Manages the privacy of the parties

Constructors

Privacy()

Properties

type ↔ int
The privacy of the party, it is an int, since we use numbers to evaluate everything which is related to the categories. 0 corresponds to 'Public', 1 to 'Closed', 2 to 'Secret'.
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Constants

options → const List<String>
The names used for party's privacy.
const ['Public', 'Closed', 'Secret']
optionsIcons → const List<IconData>
The icons used for party's privacy.
const [const IconData(0xe80b, fontFamily: 'MaterialIcons'), const IconData(0xe939, fontFamily: 'MaterialIcons'), const IconData(0xe897, fontFamily: 'MaterialIcons')]