both constant Null safety

SocketDirection const both

Implementation

static const SocketDirection both = const SocketDirection._(2)