Contact.fromVCard constructor

Contact.fromVCard(
  1. String vCard
)

Parse contact from vCard content

Implementation

factory Contact.fromVCard(String vCard) {
  Contact c;
  VCardParser().parse(vCard, c);
  return c;
}