DYNAMIC_CLASS top-level property

Class<Dynamic> DYNAMIC_CLASS
final

Represents the reflective wrapper for Dart's built-in dynamic type.

This constant is used internally by the reflection system whenever a method, parameter, or field explicitly or implicitly declares a dynamic type.

Since dynamic does not correspond to an actual class at runtime, this instance uses a null underlying mirror and is registered under the build-system package namespace.

Typically used in:

  • Method return-type resolution
  • Parameter type analysis
  • Dynamic invocation systems

Implementation

final Class<Dynamic> DYNAMIC_CLASS = Class<Dynamic>(null, PackageNames.BUILD);