updateContextEntry<T extends ContextEntry> method Null safety

Response updateContextEntry<T extends ContextEntry>(
  1. ContextUpdater<T?> update
)

Clone this response updating an entry to context

Implementation

Response updateContextEntry<T extends ContextEntry>(
  ContextUpdater<T?> update,
) =>
    Response(
      errors: errors,
      data: data,
      context: context.updateEntry<T>(update),
    );