encodeText method Null safety

  1. @override
String encodeText(
  1. String input
)
override

Encodes a string to be serialized as XML text.

Implementation

@override
String encodeText(String input) =>
    input.replaceAllMapped(_textPattern, _textReplace);