toMap method
Implementation
Map<String, dynamic> toMap() {
var map = new Map<String, dynamic>();
map["alias"] = alias;
map["timeStamp"] = timeStamp;
map["mac"] = mac;
map["clientType"] = clientType;
map["extraKeys"] = extraKeys;
return map;
}