void register(String contact)

Source

void register(String contact) {
  _map['contact'] = contact;
  _lastSeen = new DateTime.now();
}