FunctionParamWithValue<T> class

Inheritance

Constructors

FunctionParamWithValue.new({required T value, required String? name, required FunctionParamType type, bool? indexed})
const
FunctionParamWithValue.fromJson(Map map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
indexed → bool?
finalinherited
isDynamic → bool
no setterinherited
name → String?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → FunctionParamType
finalinherited
value → T
final

Methods

cast<T>() → FunctionParamWithValue<T>
castValue<T>() → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Json
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromParam<T>(FunctionParam param, T value) → FunctionParamWithValue