maybeWhen<TResult extends Object?> method

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

Implementation

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