ParameterizedCallback<INPUT extends Object?, OUTPUT extends Object?> typedef Null safety

ParameterizedCallback<INPUT extends Object?, OUTPUT extends Object?> = OUTPUT Function(INPUT input)

Example:

final ParameterizedCallback<double, int> roundOffStrategy;
...
final price = roundOffStrategy(8.458);

Implementation

typedef ParameterizedCallback<INPUT extends Object?, OUTPUT extends Object?>
    = OUTPUT Function(INPUT input);