getBytesFromString static method

List<int> getBytesFromString(
  1. String input
)
Get bytes from String.

Implementation

static List<int> getBytesFromString(String input) => utf8.encode(input);