vCardEncode function

String vCardEncode(
  1. String s
)

Implementation

String vCardEncode(String s) =>
    s.replaceAll(',', '\\,').replaceAll(';', '\\;').replaceAll('\n', '\\n');