EmphasisMeta class

Metadata for text emphasis elements.

Represents text formatting such as bold, italic, strikethrough, or inline code in Markdown documents.

Constructors

EmphasisMeta({String? style})
Creates an EmphasisMeta instance.
const
EmphasisMeta.fromJson(Map<String, dynamic> json)
Creates from JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style String?
The emphasis style: 'bold', 'italic', 'strikethrough', or 'code'.
final

Methods

copyWith({String? style}) EmphasisMeta
Creates a copy with updated values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override