ModifiedUtf7Codec class Null safety

Provides Modified UTF7 encoder and decoder. Compare https://tools.ietf.org/html/rfc3501#section-5.1.3 and https://tools.ietf.org/html/rfc2152 for details. Inspired by https://github.com/jstedfast/MailKit/blob/master/MailKit/Net/Imap/ImapEncoding.cs

Constructors

ModifiedUtf7Codec()
const

Properties

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

Methods

decodeText(String text, [Encoding codec = utf8]) String
Decodes the specified text [...]
encodeText(String text) String
Encodes the specified text in Modified UTF7 format. text specifies the text to be encoded.
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