copyWith method
Implementation
ImageBlock copyWith({BaseBlock? block}) => ImageBlock(
depth: block?.depth ?? this.depth,
start: block?.start ?? this.start,
end: block?.end ?? this.end,
inlineStyles: block?.inlineStyles ?? this.inlineStyles,
entityTypes: block?.entityTypes ?? this.entityTypes,
data: block?.data ?? this.data,
text: block?.text ?? this.text,
blockType: block?.blockType ?? this.blockType,
);