PubTextSource class Null safety
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
- Object
- TextSource
- PubTextSource
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.
final, inherited
- decodedText → String
-
The text that was decoded to produce the data.
read-only, inherited
- 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.
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- str → String
-
Source the data was decoded from. [...]
final, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited