uint8ListfromString static method

Uint8List uint8ListfromString(
  1. String text
)

Implementation

static Uint8List uint8ListfromString(String text) {
  List<int> list = text.codeUnits;
  return Uint8List.fromList(list);
}