The getFlagList RPC returns a list of all command line flags in the VM along with their current values.
getFlagList
See FlagList.
FlagList
Future<FlagList> getFlagList() => _call('getFlagList');