toDictionary property

Map<String, Object> get toDictionary

Implementation

Map<String, Object> get toDictionary {
  return {"id": id, "type": type.toString(), "connected": connected};
}