Reflection

Configure Flutter native reflection tools for supported iOS and Android roots.

const reflection = AnsightReflectionToolsOptions(
  includeBuiltInRoots: true,
  allowedRootIds: <String>['application'],
  allowedTypePrefixes: <String>['com.example.'],
);

Pass the options through AnsightRemoteToolsOptions. Native reflection exposes reflect.list_roots, reflect.inspect_object, reflect.describe_type, reflect.set_member_value, and reflect.invoke_method according to platform support and the active tool guard.

These are native Swift/JVM roots, not arbitrary Dart object reflection. Use Flutter widget tools for framework UI state. Keep reflection development-only.