ServerMessageType enum

Inheritance

Constructors

ServerMessageType(String type)
const

Values

Heartbeat → const ServerMessageType
const ServerMessageType("HEARTBEAT")
Candidate → const ServerMessageType
const ServerMessageType("CANDIDATE")
Offer → const ServerMessageType
const ServerMessageType("OFFER")
Answer → const ServerMessageType
const ServerMessageType("ANSWER")
Open → const ServerMessageType
const ServerMessageType("OPEN")
Error → const ServerMessageType
const ServerMessageType("ERROR")
IdTaken → const ServerMessageType
const ServerMessageType("ID-TAKEN")
InvalidKey → const ServerMessageType
const ServerMessageType("INVALID-KEY")
Leave → const ServerMessageType
const ServerMessageType("LEAVE")
Expire → const ServerMessageType
const ServerMessageType("EXPIRE")

Properties

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
type String
final

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<ServerMessageType>
A constant List of the values in this enum, in order of their declaration.