maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult create(
- CreateAction data
- TResult update(
- UpdateAction data
- TResult delete(
- DeleteAction data
- 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;