copyWith<T> method
Creates a new Context with the specified value for the given key
Implementation
Context copyWith<T>(ContextKey<T> key, T value) {
return ContextCreate.create(contextMap: {
..._values,
key: value,
});
}
Creates a new Context with the specified value for the given key
Context copyWith<T>(ContextKey<T> key, T value) {
return ContextCreate.create(contextMap: {
..._values,
key: value,
});
}