SocketType class
class SocketType extends ChromeEnum {
static const SocketType TCP = const SocketType._('tcp');
static const SocketType UDP = const SocketType._('udp');
static const List<SocketType> VALUES = const[TCP, UDP];
const SocketType._(String str): super(str);
}
Extends
ChromeEnum > SocketType
Static Properties
const SocketType TCP #
static const SocketType TCP = const SocketType._('tcp')
const SocketType UDP #
static const SocketType UDP = const SocketType._('udp')
const List<SocketType> VALUES #
static const List<SocketType> VALUES = const[TCP, UDP]
Properties
Methods
String toString() #
inherited from ChromeEnum
Returns a string representation of this object.
docs inherited from Object
String toString() => value;