encode method

Uint8List encode([
  1. String input = ''
])

Implementation

Uint8List encode([String input = '']) {
  return utf8.encode(input);
}