This will not include the object's super member.

# S3 method for ggproto
as.list(x, inherit = TRUE, ...)

Arguments

x

A ggproto object to convert to a list.

inherit

If TRUE (the default), flatten all inherited items into the returned list. If FALSE, do not include any inherited items.

...

Further arguments to pass to as.list.environment.