Contact.fromMap constructor

Contact.fromMap(
  1. Map map
)

Implementation

factory Contact.fromMap(Map<dynamic, dynamic> map) => Contact(
      fullName: map['fullName'],
      phoneNumbers: map['phoneNumbers']?.cast<String>(),
      selectedPhoneNumber: map['selectedPhoneNumber']?.toString(),
    );