when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult simpleEntity(),
  2. required TResult iterableEntity(),
  3. required TResult iterable2Entity(),
})
inherited

Implementation

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