TextCodec class
*[<Null safety>](https://dart.dev/null-safety)*
This is a basic text Codec that supports UTF-8 encoding.
Inheritance
Constructors
TextCodec ()
Properties
contentType → ContentTypeId
This identifies the flavor of content this codec can handle. It advertises the ability to be responsible for the specified
ContentTypeId.authorityId/ContentTypeId.typeId. _read-onlyoverride_hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
Methods
decode(EncodedContent encoded) Future<String>
This is called to decode the content captured by encoded
.
override
encode(String decoded) Future<EncodedContent>
This is called to encode the content
override
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