when<TResult extends Object?> method

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

Implementation

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