TextDecoder$Typings extension

on

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
ignoreBOM bool

Available on TextDecoder, provided by the TextDecoder$Typings extension

Returns true if ignore BOM flag is set, and false otherwise.
no setter