copyWith method
Creates a copy of this context with additional properties
Implementation
InjectionContext copyWith({
List<String>? activeProfiles,
Map<String, String>? properties,
bool? allowCircularDependencies,
}) =>
InjectionContext(
activeProfiles: activeProfiles ?? this.activeProfiles,
properties: properties ?? this.properties,
allowCircularDependencies:
allowCircularDependencies ?? this.allowCircularDependencies,
);