This returns a list of public members from the object. It simply calls as.list.environment.
as.list.environment
## S3 method for class 'R6' as.list(x, ...)
x
An R6 object.
...
Other arguments, which will be ignored.