CP949Codec constructor

const CP949Codec({
  1. bool allowInvalid = false,
})

Instantiates a new CP949Codec. If allowInvalid is true, the decode method and the converter returned by decoder will default to allowing invalid values. Invalid values are decoded into the Unicode Replacement character (U+FFFD). Calls to the decode method can override this default.

Implementation

const CP949Codec({bool allowInvalid = false}) : _allowInvalid = allowInvalid;