MdcOutlineEntry class final

One heading in an MDC document outline.

Constructors

MdcOutlineEntry({required String id, required String title, required int level, Iterable<MdcOutlineEntry> children = const <MdcOutlineEntry>[]})
Creates an immutable outline entry.

Properties

children → List<MdcOutlineEntry>
More deeply nested headings in document order.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The heading fragment identifier without a leading #.
final
level → int
The HTML heading level from 1 through 6.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
The plain inline text of the heading.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited