TextDecoder class

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

TextDecoder([String? label, TextDecoderOptions? options])
factory

Properties

decode String Function([Object?, TextDecodeOptions?])

Available on TextDecoder, provided by the TextDecoder$Typings extension

getter/setter pair
encoding String

Available on TextDecoder, provided by the TextDecoder$Typings extension

Returns encoding's name, lowercased.
no setter
fatal bool

Available on TextDecoder, provided by the TextDecoder$Typings extension

Returns true if error mode is "fatal", and false otherwise.
no setter
hashCode int
The hash code for this object.
no setterinherited
ignoreBOM bool

Available on TextDecoder, provided by the TextDecoder$Typings extension

Returns true if ignore BOM flag is set, and false otherwise.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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