encode method Null safety

Uint8List encode (
  1. String source
)
override

Encodes input.

The input is encoded as if by encoder.convert.

Implementation

Uint8List encode(String source) => encoder.convert(source);