toDictionary property

Map<String, Object> get toDictionary

Implementation

Map<String, Object> get toDictionary {
  return {
    "name": name,
    "id": id,
    "type": type,
    "connected": connected,
  };
}