copyWith method
CrawledBlock
copyWith({
- String? blockName,
- List<
CrawledProperty> ? properties, - List<
CrawledBlock> ? nestedBlocks,
Implementation
CrawledBlock copyWith({
String? blockName,
List<CrawledProperty>? properties,
List<CrawledBlock>? nestedBlocks,
}) =>
CrawledBlock(
blockName: blockName ?? this.blockName,
properties: properties ?? this.properties,
nestedBlocks: nestedBlocks ?? this.nestedBlocks,
);