TextChunk class

Text chunk model

Constructors

TextChunk({required String content, required int chunkId, required String section, required String type})

Properties

chunkId int
Sequential chunk number in document (0, 1, 2, ...)
final
content String
Chunk content
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
section String
Logical section name (intro, urls, lists, code, full_doc, auto)
final
type String
Chunk type: "text" or "code"
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