toUTF8 method

String? toUTF8()

Implementation

String? toUTF8() {
  try {
    return utf8.decoder.convert(this);
  } catch (e) {
    $debugPrint(e, "toUTF8");
    return null;
  }
}