Contact constructor

const Contact({
  1. String? id,
  2. String? displayName,
  3. Photo? photo,
  4. Name? name,
  5. List<Phone> phones = const [],
  6. List<Email> emails = const [],
  7. List<Address> addresses = const [],
  8. List<Organization> organizations = const [],
  9. List<Website> websites = const [],
  10. List<SocialMedia> socialMedias = const [],
  11. List<Event> events = const [],
  12. List<Relation> relations = const [],
  13. List<Note> notes = const [],
  14. AndroidData? android,
  15. ContactMetadata? metadata,
})

Implementation

const Contact({
  this.id,
  this.displayName,
  this.photo,
  this.name,
  this.phones = const [],
  this.emails = const [],
  this.addresses = const [],
  this.organizations = const [],
  this.websites = const [],
  this.socialMedias = const [],
  this.events = const [],
  this.relations = const [],
  this.notes = const [],
  this.android,
  this.metadata,
});