remove method

Future<void> remove(
  1. PageCubit pageCubit,
  2. CMSDeleteAction action
)

Implementation

Future<void> remove(PageCubit pageCubit, CMSDeleteAction action) async {
  final client = pageCubit.cmsClient;
  return await action.performDelete(client);
}