encodeUTF8 method

List<int> encodeUTF8()

Encodes this String to UTF-8 bytes.

Implementation

List<int> encodeUTF8() => dart_convert.utf8.encode(this);