update method

Future update(
  1. PageCubit pageCubit,
  2. CMSUpdateAction action,
  3. Map<String, dynamic> newData
)

Implementation

Future<dynamic> update(PageCubit pageCubit, CMSUpdateAction action,
    Map<String, dynamic> newData) async {
  final client = pageCubit.cmsClient;
  return await action.performUpdate(client, newData);
}