copyWith method
Creates a copy with updated values.
Implementation
CodeBlockMeta copyWith({
String? language,
String? filename,
bool? isInline,
}) {
return CodeBlockMeta(
language: language ?? this.language,
filename: filename ?? this.filename,
isInline: isInline ?? this.isInline,
);
}