PdfContentToken class

A token with the exact position it occupied in the source bytes.

Constructors

PdfContentToken(PdfContentTokenKind kind, int start, int end, {String text = '', Uint8List? bytes})
Creates a token.
const

Properties

bytes → Uint8List?
Decoded bytes, for strings only.
final
end → int
Index just past the last byte of the token.
final
hashCode → int
The hash code for this object.
no setterinherited
kind → PdfContentTokenKind
Category.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → int
Index of the first byte of the token.
final
text → String
Token text: the lexeme of a number, the already decoded name (with the slash), the keyword, or the body of a comment (without the %).
final

Methods

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

Operators

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