toDictionary property

Map<String, Object> toDictionary

Implementation

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