ParameterDefinition class

Represents a constructor parameter that needs injection

Constructors

ParameterDefinition({required Type type, required String name, bool isRequired = true, String? qualifier, Object? defaultValue})
const

Properties

defaultValue Object?
Default value for the parameter (if any)
final
hashCode int
The hash code for this object.
no setterinherited
isRequired bool
Whether the parameter is required
final
name String
The parameter name
final
qualifier String?
Optional qualifier for the parameter
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
The parameter type
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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