encode method Null safety

List<int> encode (
  1. String input
)
override

Encodes input.

The input is encoded as if by encoder.convert.

Implementation

List<int> encode(String input) => encoder.convert(input);