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
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
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.