when<TResult extends Object?> method

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

Implementation

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