ContactObject.fromMap constructor

ContactObject.fromMap(
  1. Map map
)

Creates a ContactObject from a map.

Implementation

factory ContactObject.fromMap(Map map) {
  return ContactObject(
    name: map['name'],
    url: map['url'],
    email: map['email'],
  );
}