add method

Future add(
  1. PageCubit pageCubit,
  2. CMSInsertAction action,
  3. Map<String, dynamic> data
)

Implementation

Future<dynamic> add(PageCubit pageCubit, CMSInsertAction action,
    Map<String, dynamic> data) async {
  final client = pageCubit.cmsClient;
  return await action.performInsert(client, data);
}