copyWith method
Creates a copy with optional overrides.
Implementation
SkeletonGenerationContext copyWith({
SkeletonConfig? config,
Map<Type, Size>? sizeCache,
}) {
return SkeletonGenerationContext(
config: config ?? this.config,
sizeCache: sizeCache ?? this.sizeCache,
);
}