whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? cm(
    1. double value
    )?,
  2. TResult? inch(
    1. double value,
    2. int graduations
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(double value)? cm,
  TResult? Function(double value, int graduations)? inch,
}) =>
    throw _privateConstructorUsedError;