Skip to content

Feature-request: A way to obtain function/constructor parameter information through the vm_services #45172

@Norbert515

Description

@Norbert515

Hi all,

Would it be possible to obtain more information about a function using the VM services? Currently, I'm using the runtimeType string you get from a function to parse out that information - this is pretty hard to do, and more importantly, it doesn't work for constructors as the runtimeType is just the type of the class.

Proposal:

Add arguments field to Function. It should contain positional arguments (in correct order), named arguments (in addition to their names), and optional arguments.

Happy to help in some way if I can.

Metadata

Metadata

Assignees

Labels

area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.pkg-vm-service

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions