PubTextSource class

Indicates where the text encoding was decoded from.

The text is the substring of str from begin to end. It was identified and decoded as encoding.

Inheritance

Constructors

PubTextSource(String str, int begin, int end, PubKeyEncoding encoding)
Constructor
PubTextSource.setEncoding(TextSource src, PubKeyEncoding encoding)
Constructor from a TextSource

Properties

begin int
Offset into the source string where the data starts.
finalinherited
decodedText String
The text that was decoded to produce the data.
no setterinherited
encoding PubKeyEncoding
The public key format that the decoded text was interpreted as.
final
end int
Offset into the source string where the data ends.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
str String
Source the data was decoded from.
finalinherited

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