ListMeta class

Metadata for list elements.

Represents list formatting information for unordered, ordered, or task lists in Markdown documents.

Constructors

ListMeta({required String type, String? marker, int? startNumber})
Creates a ListMeta instance.
const
ListMeta.fromJson(Map<String, dynamic> json)
Creates from JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
marker String?
The marker used: '-', '*', '+', '1.', '1)', etc.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startNumber int?
The starting number for ordered lists.
final
type String
The type of list: 'unordered', 'ordered', or 'task'.
final

Methods

copyWith({String? type, String? marker, int? startNumber}) ListMeta
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