encode method

String encode(
  1. String s
)

Implementation

String encode(String s) => s
    .replaceAll('\\,', '&fluttercontactscomma&')
    .replaceAll('\\;', '&fluttercontactssemicolon&')
    .replaceAll('\\n', '&fluttercontactsnewline&');