when<TResult extends Object?> method
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() default0,
}) =>
throw _privateConstructorUsedError;
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() default0,
}) =>
throw _privateConstructorUsedError;