copyWith method
Implementation
BlockNoteTextContent copyWith({
String? type,
String? text,
Object? styles = kUnset,
}) {
return BlockNoteTextContent(
type: type ?? this.type,
text: text ?? this.text,
styles: identical(styles, kUnset)
? this.styles
: styles as Map<String, dynamic>?,
);
}