updateEntry<T extends ContextEntry> method
Create a Context by updating entry of type T
Implementation
Context updateEntry<T extends ContextEntry>(
ContextUpdater<T?> update,
) =>
withEntry<T>(
update(
entry<T>(),
),
);