RelayEventType enum

Relay(Server) events happened on host or client side As all events are in snake_case they will be converted automatically to camelCase

Inheritance

Constructors

RelayEventType()
const

Values

clientClosed → const RelayEventType

Server event name 'client_closed',

hostClosed → const RelayEventType

Server event name 'host_closed',

fromJson → const RelayEventType

_from is used to get valid enum property from string example:

RelayEventType.fromString['string'];

to get string value use toStringValue example:

RelayEventType.string.toStringValue() // output: 'string'

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

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