toDictionary property

Map<String, Object> toDictionary

Implementation

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