TextDecoder constructor

TextDecoder([
  1. String? label = 'utf-8',
  2. TextDecoderOptions? options
])

Implementation

factory TextDecoder([String? label = 'utf-8', TextDecoderOptions? options]) =>
    TextDecoder._(label ?? 'utf-8', options ?? undefined);