whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? singleValueObject()?,
  2. TResult? multiValueObject()?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function()? singleValueObject,
  TResult? Function()? multiValueObject,
}) =>
    throw _privateConstructorUsedError;