Inline class sealed

An inline IR node (text, link, formatting span, etc.).

Inlines represent content that flows horizontally within a line. Use pattern matching on the sealed subclasses to handle each inline type:

switch (inline) {
  case TextInline(): // ...
  case StrongInline(): // ...
  case LinkInline(): // ...
  // etc.
}

See also:

Inheritance
Implementers
Annotations
  • @immutable

Properties

hashCode int
The hash code for this object.
no setterinherited
meta NodeMeta?
Debug metadata (source location, attributes).
finalinherited
props List<Object?>
Semantic properties used for equality and hashing.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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