ConstructorResolver class

Resolves constructor parameters from a Dart source file.

Parses the file contents and extracts metadata for named constructor parameters, including their type, name, and required status.

Constructors

ConstructorResolver()
Creates a constructor resolver.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(File file) Future<List<ConstructorParameter>>
Resolves constructor parameters declared in the provided file.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited