encodeString method

List<int> encodeString(
  1. String s
)

Implementation

List<int> encodeString(String s) => encodeBytes(s.codeUnits);