whenOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>(
  1. {TResult? circular(
    1. double radius
    )?,
  2. TResult? elliptical(
    1. double x,
    2. double y
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(double radius)? circular,
  TResult? Function(double x, double y)? elliptical,
}) =>
    throw _privateConstructorUsedError;