Contact.fromMap constructor

Contact.fromMap(
  1. Map m
)

Implementation

Contact.fromMap(Map m) {
  otherName = m["other_name"];
  phones = (m["phones"] as List?)?.map((e) => Phone.fromMap(e)).toList();
  lastTime = m["last_time"];
}