whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? create(
    1. CreateAction data
    )?,
  2. TResult? update(
    1. UpdateAction data
    )?,
  3. TResult? delete(
    1. DeleteAction data
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(CreateAction data)? create,
  TResult? Function(UpdateAction data)? update,
  TResult? Function(DeleteAction data)? delete,
}) =>
    throw _privateConstructorUsedError;