DividerMeta class

Metadata for Markdown divider/horizontal rule elements.

Represents horizontal rules (---, ***, ___) that appear before or after a key's content in Markdown documents.

Constructors

DividerMeta({bool before = false, bool after = false, String? style})
Creates a DividerMeta instance.
const
DividerMeta.fromJson(Map<String, dynamic> json)
Creates from JSON map.
factory

Properties

after bool
Whether a divider appears after this key's content.
final
before bool
Whether a divider appears before this key's content.
final
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 style of the divider: ---, ***, or ___.
final

Methods

copyWith({bool? before, bool? after, String? style}) DividerMeta
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