encode abstract method

String encode(
  1. String source, {
  2. bool sanitized = true,
})

if sanitized is true, will run the sanitizedForEncoding function before encoding the string.

Implementation

String encode(String source, {bool sanitized = true});