when<TResult extends Object?> method
Null safety
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(double radius) circular,
required TResult Function(double x, double y) elliptical,
}) =>
throw _privateConstructorUsedError;