NameStatus enum Null safety

NameStatus

  • Enum for Status of Provided Name
Inheritance

Constructors

NameStatus()
const

Values

Default → const NameStatus

NameStatus.Default: Default Status and Type.

const NameStatus(0)
Returning → const NameStatus

NameStatus.Returning: Name is taken, user is returning.

const NameStatus(1)
TooShort → const NameStatus

NameStatus.Available: Name length is < 4 characters.

const NameStatus(2)
Available → const NameStatus

NameStatus.Available: Name is Available.

const NameStatus(3)
Unavailable → const NameStatus

NameStatus.Unavailable: Name is Taken.

const NameStatus(4)
Blocked → const NameStatus

NameStatus.Blocked: Name is on Blocked List.

const NameStatus(5)
Restricted → const NameStatus

NameStatus.Restricted: Name is on Restricted List.

const NameStatus(6)
DeviceRegistered → const NameStatus

NameStatus.DeviceRegistered: Device is already registered.

const NameStatus(7)
InvalidCharacters → const NameStatus

NameStatus.InvalidCharacters: Name has invalid characters.

const NameStatus(8)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<NameStatus>
A constant List of the values in this enum, in order of their declaration.
[Default, Returning, TooShort, Available, Unavailable, Blocked, Restricted, DeviceRegistered, InvalidCharacters]