send method
Implementation
void send(String action,
{List<String>? properties, Object? values, int? id}) =>
_socket.add(jsonEncode({
'data': {
'action': action,
if (properties != null) 'properties': properties,
if (values != null) 'values': values,
},
if (id != null) 'id': id,
}));