export method

String export(
  1. Contact contact, {
  2. VCardVersion version = VCardVersion.v3,
})

Exports a single contact to vCard format.

version - vCard version to use.

Returns the vCard string.

Implementation

String export(Contact contact, {VCardVersion version = VCardVersion.v3}) =>
    VCardWriter.write(contact, version);