value property
String
get
value
Implementation
String get value {
switch (this) {
case EngineEvent.SESSION_CONNECT:
return "session_connect";
case EngineEvent.SESSION_APPROVE:
return "session_approve";
case EngineEvent.SESSION_UPDATE:
return "session_update";
case EngineEvent.SESSION_EXTEND:
return "session_extend";
case EngineEvent.SESSION_PING:
return "session_ping";
case EngineEvent.PAIRING_PING:
return "pairing_ping";
case EngineEvent.SESSION_REQUEST:
return "session_request";
default:
throw WCException('Invalid EngineTypesEvent');
}
}