serializeOrganizer method

String serializeOrganizer()

Implementation

String serializeOrganizer() {
  var out = StringBuffer()..write('ORGANIZER');
  if (name != null) {
    out.write(';CN=${escapeValue(name!)}');
  }
  if (email == null) {
    return '';
  }
  out.writecrlf(':mailto:$email');
  return out.toString();
}